Mercurial > hg > portage
annotate dev-lang/dart/dart-1.20.1.ebuild @ 536:e3a01f8b34f6
vscodium update
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Sat, 03 Oct 2020 12:25:44 +0200 |
parents | 18fecfcfbe40 |
children |
rev | line source |
---|---|
427
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 EAPI=6 |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
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." |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 HOMEPAGE="https://www.dartlang.org" |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
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 -> ${P}.zip" |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 SLOT="0" |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 KEYWORDS="amd64" |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 S=${WORKDIR}/dart-sdk |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 RDEPEND="sys-libs/glibc" |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 src_compile() { :; } |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
13 |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
14 src_install() { |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 local MY_DEST=/opt/dart-${PV} |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
16 |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 insinto ${MY_DEST} |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
18 doins -r * |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
19 |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
20 for x in ${D}${MY_DEST}/bin/*; do |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
21 if [ -f $x ]; then |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
22 # fperms implicitly adds ${D} which we had to add for listing above |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 chmod +x $x |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 fi |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 done |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 chmod +x ${D}${MY_DEST}/lib/analysis_server/tool/spec/generate_files |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 chmod +x ${D}${MY_DEST}/lib/analyzer/tool/generate_files |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
29 dosym ${MY_DEST}/bin/dart /opt/bin/dart |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 dosym ${MY_DEST}/bin/pub /opt/bin/pub |
18fecfcfbe40
update to dart 1.20.1, remove older dart ebuilds
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 } |