pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rust-bin: Add distfiles for more platforms



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Thu Sep 13 23:27:28 2018 -0700
Changeset:	82b1d7ee39cba8baec97d4bdceee356941423763

Modified Files:
	rust-bin/Makefile
	rust-bin/TODO
	rust-bin/distinfo

Log Message:
rust-bin: Add distfiles for more platforms

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=82b1d7ee39cba8baec97d4bdceee356941423763

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust-bin/Makefile | 34 +++++++++++++++++++++++++++++++---
 rust-bin/TODO     |  2 +-
 rust-bin/distinfo | 28 ++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 4 deletions(-)

diffs:
diff --git a/rust-bin/Makefile b/rust-bin/Makefile
index af35e6e28e..f6253083d5 100644
--- a/rust-bin/Makefile
+++ b/rust-bin/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
-DISTNAME=	rust-1.29.0-${MACHINE_ARCH}-apple-${LOWER_OPSYS}
-PKGNAME=	${DISTNAME:S/rust/rust-bin/:C/([0-9])-.*/\1/}
+DISTNAME=	rust-1.29.0
+PKGNAME=	${DISTNAME:S/rust/rust-bin/}
 CATEGORIES=	lang
 MASTER_SITES=	https://static.rust-lang.org/dist/
 
@@ -12,15 +12,43 @@ LICENSE=	mit OR apache-2.0
 
 CONFLICTS=	rust-[0-9]*
 
-ONLY_FOR_PLATFORM=	Darwin-*-x86_64
+ONLY_FOR_PLATFORM=	Darwin-*-* FreeBSD-*-x86_64 Linux-*-* NetBSD-*-x86_64
 
 NO_BUILD=	yes
 USE_TOOLS+=	bash
+WRKSRC=		${WRKDIR}/${DISTFILES:S/.tar.gz//}
 
 INSTALLATION_DIRS=	bin ${PKGMANDIR} share/doc/cargo/bash_completion.d
 
 .include "../../mk/bsd.prefs.mk"
 
+DISTFILES:=	# empty
+
+.if !empty(MACHINE_PLATFORM:MDarwin-*-i386) || make(distinfo) || make(makesum) || make(mdi)
+DISTFILES:=	${DISTFILES} ${DISTNAME}-i686-apple-darwin.tar.gz
+.endif
+.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make(makesum) || make(mdi)
+DISTFILES:=	${DISTFILES} ${DISTNAME}-x86_64-apple-darwin.tar.gz
+.endif
+.if !empty(MACHINE_PLATFORM:MFreeBSD-*-x86_64) || make(distinfo) || make(makesum) || make(mdi)
+DISTFILES:=	${DISTFILES} ${DISTNAME}-x86_64-unknown-freebsd.tar.gz
+.endif
+.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo) || make(makesum) || make(mdi)
+DISTFILES:=	${DISTFILES} ${DISTNAME}-i686-unknown-linux-gnu.tar.gz
+.endif
+.if !empty(MACHINE_PLATFORM:MLinux-*-aarch64) || make(distinfo) || make(makesum) || make(mdi)
+DISTFILES:=	${DISTFILES} ${DISTNAME}-aarch64-unknown-linux-gnu.tar.gz
+.endif
+.if !empty(MACHINE_PLATFORM:MLinux-*-powerpc64le) || make(distinfo) || make(makesum) || make(mdi)
+DISTFILES:=	${DISTFILES} ${DISTNAME}-powerpc64le-unknown-linux-gnu.tar.gz
+.endif
+.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo) || make(makesum) || make(mdi)
+DISTFILES:=	${DISTFILES} ${DISTNAME}-x86_64-unknown-linux-gnu.tar.gz
+.endif
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || make(distinfo) || make(makesum) || make(mdi)
+DISTFILES:=	${DISTFILES} ${DISTNAME}-x86_64-unknown-netbsd.tar.gz
+.endif
+
 do-install:
 	cd ${WRKSRC} && env PKGMANDIR=${PKGMANDIR} bash ./install.sh \
 	--destdir=${DESTDIR} --prefix=${PREFIX}
diff --git a/rust-bin/TODO b/rust-bin/TODO
index 757d63da69..7d31489d6d 100644
--- a/rust-bin/TODO
+++ b/rust-bin/TODO
@@ -1 +1 @@
-Add support for more platforms.
+Fix PLIST for non-Darwin platforms.
diff --git a/rust-bin/distinfo b/rust-bin/distinfo
index 9b1b9ebd55..03f209a4c8 100644
--- a/rust-bin/distinfo
+++ b/rust-bin/distinfo
@@ -1,7 +1,35 @@
 $NetBSD$
 
+SHA1 (rust-1.29.0-aarch64-unknown-linux-gnu.tar.gz) = fd62f40e6a505043f85a4a869c2a2acd3d3a9380
+RMD160 (rust-1.29.0-aarch64-unknown-linux-gnu.tar.gz) = eee2e8f6d1db21262ffa203b75c4103466e8a975
+SHA512 (rust-1.29.0-aarch64-unknown-linux-gnu.tar.gz) = cd29333268a1f2c3a0e4b696cd684499c9c6f5f8aa63e86771642f99fa73041434cffec874a2d19d4e31d9773ef4626e080bb209af682baa084c1d1c3cba6d6b
+Size (rust-1.29.0-aarch64-unknown-linux-gnu.tar.gz) = 158575422 bytes
+SHA1 (rust-1.29.0-i686-apple-darwin.tar.gz) = 08e482643d406c45905fcecd7d1b8c2edd9fe552
+RMD160 (rust-1.29.0-i686-apple-darwin.tar.gz) = 01a35f435937e083184c0110e2072623c3312af5
+SHA512 (rust-1.29.0-i686-apple-darwin.tar.gz) = ab17fd91b980eb17ff3f45b44fbe8f3798b4046908e79f900bad51294c12a72576ff737cfc4caeb131726da6e689cda6cb3388f2e0e63bc24fd6532856895291
+Size (rust-1.29.0-i686-apple-darwin.tar.gz) = 193681567 bytes
+SHA1 (rust-1.29.0-i686-unknown-linux-gnu.tar.gz) = b57ff9a0a993266be38741064c6b165258169993
+RMD160 (rust-1.29.0-i686-unknown-linux-gnu.tar.gz) = a55a238f4aff6faace722af0624f365617096b55
+SHA512 (rust-1.29.0-i686-unknown-linux-gnu.tar.gz) = deb0b1696f9e99231a4d1ff2d07feb5ccfcc00e5bfd57990cc64bd87a99964f6c1102e5e27698eefcad708c2cec3ae22581e79c8279c10f0384cc8d8b014c534
+Size (rust-1.29.0-i686-unknown-linux-gnu.tar.gz) = 241912486 bytes
+SHA1 (rust-1.29.0-powerpc64le-unknown-linux-gnu.tar.gz) = 2ddc06e13be0afab8e4de97117b227088ca675e7
+RMD160 (rust-1.29.0-powerpc64le-unknown-linux-gnu.tar.gz) = aa2fe97c52df6d90e1a425a9baf25fc3ae277d7a
+SHA512 (rust-1.29.0-powerpc64le-unknown-linux-gnu.tar.gz) = aa01e344f5cae683e4571c403e3471e24468363bfdf2e76ef4a5bc971d13949504bb1e87e0be54f69f97e958c3b97bdbfc71da52ff9dd47fd756d8aca2a75ce6
+Size (rust-1.29.0-powerpc64le-unknown-linux-gnu.tar.gz) = 171371889 bytes
 SHA1 (rust-1.29.0-x86_64-apple-darwin.tar.gz) = 7f130514eeb1dab7b097b8916b4583c56cebd312
 RMD160 (rust-1.29.0-x86_64-apple-darwin.tar.gz) = 04be89d3fcace87163bc2dea867d47d67f51542a
 SHA512 (rust-1.29.0-x86_64-apple-darwin.tar.gz) = 834975c0a61ca355786885b774ee836e5aee2a197ff168c9a726c210a41010a33d0d4e376f0596f74ae7aa998b04aad1c58f1fc2a4c5848d8ef5629f3642f5ce
 Size (rust-1.29.0-x86_64-apple-darwin.tar.gz) = 198252025 bytes
+SHA1 (rust-1.29.0-x86_64-unknown-freebsd.tar.gz) = 5a929d2887749374944f499415ddd2a2e3be1030
+RMD160 (rust-1.29.0-x86_64-unknown-freebsd.tar.gz) = c3c7adf00f10231078b1be8388e0dd583e2de7ee
+SHA512 (rust-1.29.0-x86_64-unknown-freebsd.tar.gz) = 2feff0e2afb820a26f26df1b1a02e608f04457010758b17bd3b0d491803e6055ce40d09e3252b6cdfba5ad5ffc8aa031dfd1c720388e223c2a16c5bf3bd08268
+Size (rust-1.29.0-x86_64-unknown-freebsd.tar.gz) = 168754825 bytes
+SHA1 (rust-1.29.0-x86_64-unknown-linux-gnu.tar.gz) = d60205c41a6f775aa482c6ff8edae4a376b75f24
+RMD160 (rust-1.29.0-x86_64-unknown-linux-gnu.tar.gz) = b379eb169227678fb6271229796c81080eb72245
+SHA512 (rust-1.29.0-x86_64-unknown-linux-gnu.tar.gz) = 94507673532817e188c6092e480849c5ed7f1c6db14f8567b57ecd6fd12f6b3e77c96c3547662f5a3ad27e85a91745b3bb8bf436fa2b4fdf8e5bfeb656bd0656
+Size (rust-1.29.0-x86_64-unknown-linux-gnu.tar.gz) = 239381608 bytes
+SHA1 (rust-1.29.0-x86_64-unknown-netbsd.tar.gz) = 2ed5dbe509fc217d11c8dd020ed7a482e72a7b6d
+RMD160 (rust-1.29.0-x86_64-unknown-netbsd.tar.gz) = 5245e26aa7b73630e1e03e63d51c6cb4194eb389
+SHA512 (rust-1.29.0-x86_64-unknown-netbsd.tar.gz) = 9e176a46859144d7f322132c3fed397aad4c83ec8aff7bef84cbfd75c5f929558d3324126ad9774842fa9311c368dfff2614be86d50bcc86b5be86e6b5e5c970
+Size (rust-1.29.0-x86_64-unknown-netbsd.tar.gz) = 171100435 bytes
 SHA1 (patch-install.sh) = 4dc4edcbda3c9d2b60ea51b5f83cadd5992ba786


Home | Main Index | Thread Index | Old Index