changeset 419:7cc9ca777677

ebuild for latest and greatest dart SDK
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 06 Sep 2016 09:05:12 +0200
parents 003d791a5f4d
children a298747fa05d
files dev-lang/dart/Manifest dev-lang/dart/dart-1.19.0.ebuild
diffstat 2 files changed, 33 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dev-lang/dart/Manifest	Fri Aug 26 10:05:54 2016 +0200
+++ b/dev-lang/dart/Manifest	Tue Sep 06 09:05:12 2016 +0200
@@ -1,4 +1,6 @@
 DIST dart-1.18.0.zip 23539971 SHA256 c2dfe8a548eb4920ca879d4329cfecaa140dd5a07291fd7ea9b8dd2f51452a08 SHA512 c02fc1bb039760de711c94336cabe916d532d5d812c96a937a2e66324400bb4d1189c94e0cb303fbe08e2ad0abc13b0cd8f5e411667ac7d47f5ef5838bff973b WHIRLPOOL 5270d07f458f75dcd756a0474ca5f5fa46ab45ff1a10f34885a9b457553ad74c25c640801dc1be6fa72b30d0804addfab27be02b1dfd9a508c91cd986288b32d
+DIST dart-1.19.0.zip 23052415 SHA256 032c623d1189305f024a0d0f8da9686e640ef64fa2903b856879322401e489bd SHA512 e3d440c097315509446c6ee92d72841d64fa8632c1b07731862c6c98141399de94cb2f0cd1ddd81fe7429f2ac2c24b2e796bd2c0bb170a1e82997eb3678ec038 WHIRLPOOL 19a179cb5be89a8635d8bdcb751cb058df9f65ed636546963ed2e3b22dd381e7f143a5b6d9019d9694bb1fe20c092a0afd285fac6281fb33b4348737a884a440
 DIST dartsdk-linux-x64-release.zip 23279105 SHA256 181145500a777d2906795b5949e95ea7b4932f3701c43959d0dcfea1ef434222 SHA512 82b2271929d85ccc06558792877ad746d0f0a8d518cb1323012f6ef7735932db89e66204b1c4a4aef2da7c6d8dae4fcbbb2ea914ea09bc62ce39517aaab695c3 WHIRLPOOL 3687d808ef1a9a8733f48fdbfdef50417e4bd6e5e9d264aa44c705d7992bd56e56ad0e9967b7ac601cb1b4997f708d73754dba7f671e578b074578b45702efb6
 EBUILD dart-1.17.1-r1.ebuild 828 SHA256 a4888df2c66c875d36d50547d7842eee6b5f32074e641c1bfd696f0c1ae634a3 SHA512 a0d1a0de78968fbca1f27391db810c3050f4015e9a2c93eca07887f1758db508c2a74fd7fb99b0389499f3e5e5a0845bc53f4b061c3a914094a6b89aa61524af WHIRLPOOL 46006c19c4a74e817d3438a03de98384d6dfd844c4dbbc44d0e488348735e52e5938529ea64ddf8b2f04c038d013570834590cac0d92497d10079183f942bc68
 EBUILD dart-1.18.0.ebuild 840 SHA256 16d0fdae161c5e7d5d25cf5ed8852bd7d087d1213aac3c07baf2e053d0c923ec SHA512 51275d50b455ef578be4d80dc16c545637d6509b09befd6a6fff67e29e4d050f1b5441ee50f551d2fcb8fefb4dab114e99d53e0de0cb09ac6bd728efeeaf2ee3 WHIRLPOOL 4ac7a0b0ef6164b660543243e0010462709bb1151d3cde2ff3eb0d989281d0a8b0908c2119b5481107e595dc34ccf72e97af170912781ec2c71618547c5ac921
+EBUILD dart-1.19.0.ebuild 840 SHA256 16d0fdae161c5e7d5d25cf5ed8852bd7d087d1213aac3c07baf2e053d0c923ec SHA512 51275d50b455ef578be4d80dc16c545637d6509b09befd6a6fff67e29e4d050f1b5441ee50f551d2fcb8fefb4dab114e99d53e0de0cb09ac6bd728efeeaf2ee3 WHIRLPOOL 4ac7a0b0ef6164b660543243e0010462709bb1151d3cde2ff3eb0d989281d0a8b0908c2119b5481107e595dc34ccf72e97af170912781ec2c71618547c5ac921
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-lang/dart/dart-1.19.0.ebuild	Tue Sep 06 09:05:12 2016 +0200
@@ -0,0 +1,31 @@
+
+EAPI=6
+DESCRIPTION="Dart is an application programming language that’s easy to learn, easy to scale, and deployable everywhere."
+HOMEPAGE="https://www.dartlang.org"
+SRC_URI="https://storage.googleapis.com/dart-archive/channels/stable/release/${PV}/sdk/dartsdk-linux-x64-release.zip -> ${P}.zip"
+SLOT="0"
+KEYWORDS="amd64"
+S=${WORKDIR}/dart-sdk
+
+RDEPEND="sys-libs/glibc"
+
+src_compile() { :; }
+
+src_install() {
+	local MY_DEST=/opt/dart-${PV}
+
+	insinto ${MY_DEST}
+	doins -r *
+
+	for x in ${D}${MY_DEST}/bin/*; do
+		if [ -f $x ]; then
+			# fperms implicitly adds ${D} which we had to add for listing above
+			chmod +x $x
+		fi
+	done
+	chmod +x ${D}${MY_DEST}/lib/analysis_server/tool/spec/generate_files
+	chmod +x ${D}${MY_DEST}/lib/analyzer/tool/generate_files
+
+	dosym ${MY_DEST}/bin/dart /opt/bin/dart
+	dosym ${MY_DEST}/bin/pub /opt/bin/pub
+}