diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-25 15:53:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-25 15:53:32 +0000 |
commit | bf4fb0398fb761d5a811271186db7e0a1a16a668 (patch) | |
tree | c1755c9a20bee587a44e5352cfa0f20e60b02b68 | |
parent | 5118188ed9b4f943eb99bb55991bf752de69cbae (diff) | |
download | alpine_aports-bf4fb0398fb761d5a811271186db7e0a1a16a668.tar.bz2 alpine_aports-bf4fb0398fb761d5a811271186db7e0a1a16a668.tar.xz alpine_aports-bf4fb0398fb761d5a811271186db7e0a1a16a668.zip |
testing/embryo: new aport
Enlightenment's virtual machine engine and bytecode compiler
http://trac.enlightenment.org/e/wiki/Embryo
-rw-r--r-- | testing/embryo/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/embryo/APKBUILD b/testing/embryo/APKBUILD new file mode 100644 index 0000000000..5219dfc96c --- /dev/null +++ b/testing/embryo/APKBUILD | |||
@@ -0,0 +1,44 @@ | |||
1 | # Contributor: Natanael Copa <ncopa@alpinelinux.org> | ||
2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | pkgname=embryo | ||
4 | pkgver=1.0.0 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="Enlightenment's virtual machine engine and bytecode compiler" | ||
7 | url="http://trac.enlightenment.org/e/wiki/Embryo" | ||
8 | arch="all" | ||
9 | license="BSD" | ||
10 | depends= | ||
11 | depends_dev= | ||
12 | makedepends="$depends_dev" | ||
13 | install="" | ||
14 | subpackages="$pkgname-dev" | ||
15 | source="http://download.enlightenment.org/releases/embryo-$pkgver.tar.gz" | ||
16 | |||
17 | _builddir="$srcdir"/embryo-$pkgver | ||
18 | prepare() { | ||
19 | local i | ||
20 | cd "$_builddir" | ||
21 | for i in $source; do | ||
22 | case $i in | ||
23 | *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; | ||
24 | esac | ||
25 | done | ||
26 | } | ||
27 | |||
28 | build() { | ||
29 | cd "$_builddir" | ||
30 | ./configure --prefix=/usr \ | ||
31 | --sysconfdir=/etc \ | ||
32 | --mandir=/usr/share/man \ | ||
33 | --infodir=/usr/share/info \ | ||
34 | --localstatedir=/var \ | ||
35 | || return 1 | ||
36 | make || return 1 | ||
37 | } | ||
38 | |||
39 | package() { | ||
40 | cd "$_builddir" | ||
41 | make DESTDIR="$pkgdir" install || return 1 | ||
42 | } | ||
43 | |||
44 | md5sums="2d6269c931656d5714197e508b144f18 embryo-1.0.0.tar.gz" | ||