summaryrefslogtreecommitdiffstats
path: root/testing/embryo/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-05-25 15:53:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-05-25 15:53:32 +0000
commitbf4fb0398fb761d5a811271186db7e0a1a16a668 (patch)
treec1755c9a20bee587a44e5352cfa0f20e60b02b68 /testing/embryo/APKBUILD
parent5118188ed9b4f943eb99bb55991bf752de69cbae (diff)
downloadaports-bf4fb0398fb761d5a811271186db7e0a1a16a668.tar.bz2
aports-bf4fb0398fb761d5a811271186db7e0a1a16a668.tar.xz
testing/embryo: new aport
Enlightenment's virtual machine engine and bytecode compiler http://trac.enlightenment.org/e/wiki/Embryo
Diffstat (limited to 'testing/embryo/APKBUILD')
-rw-r--r--testing/embryo/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/embryo/APKBUILD b/testing/embryo/APKBUILD
new file mode 100644
index 000000000..5219dfc96
--- /dev/null
+++ b/testing/embryo/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=embryo
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="Enlightenment's virtual machine engine and bytecode compiler"
+url="http://trac.enlightenment.org/e/wiki/Embryo"
+arch="all"
+license="BSD"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://download.enlightenment.org/releases/embryo-$pkgver.tar.gz"
+
+_builddir="$srcdir"/embryo-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="2d6269c931656d5714197e508b144f18 embryo-1.0.0.tar.gz"