Mercurial > hg > portage
annotate dev-lang/dart/dart-1.17.1-r1.ebuild @ 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 | 37b7661b5f5d |
children |
rev | line source |
---|---|
415
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 EAPI=6 |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 DESCRIPTION="Dart is an application programming language that’s easy to learn, easy to scale, and deployable everywhere." |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 HOMEPAGE="https://www.dartlang.org" |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 SRC_URI="https://storage.googleapis.com/dart-archive/channels/stable/release/${PV}/sdk/dartsdk-linux-x64-release.zip" |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 SLOT="0" |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 KEYWORDS="amd64" |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 S=${WORKDIR}/dart-sdk |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 RDEPEND="sys-libs/glibc" |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 src_compile() { :; } |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
13 |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
14 src_install() { |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 local MY_DEST=/opt/dart-${PV} |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
16 |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 insinto ${MY_DEST} |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
18 doins -r * |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
19 |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
20 for x in ${D}${MY_DEST}/bin/*; do |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
21 if [ -f $x ]; then |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
22 # fperms implicitly adds ${D} which we had to add for listing above |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 chmod +x $x |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 fi |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 done |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 chmod +x ${D}${MY_DEST}/lib/analysis_server/tool/spec/generate_files |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 chmod +x ${D}${MY_DEST}/lib/analyzer/tool/generate_files |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
29 dosym ${MY_DEST}/bin/dart /opt/bin/dart |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 dosym ${MY_DEST}/bin/pub /opt/bin/pub |
37b7661b5f5d
remove the erroneous 1.17.1 ebuild, superseeded by the -r1 ebuild which uses the correct arch, EAPI 6 and creates symlinks to /opt/bin
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 } |