aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/eina/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/eina/APKBUILD')
-rw-r--r--unmaintained/eina/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/eina/APKBUILD b/unmaintained/eina/APKBUILD
new file mode 100644
index 0000000000..011f55d67c
--- /dev/null
+++ b/unmaintained/eina/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=eina
+pkgver=1.7.9
+pkgrel=1
+pkgdesc="Enlightenment's data types library (List, hash, etc) in C"
+url="http://trac.enlightenment.org/e/wiki/Eina"
+arch="all"
+license="LGPL2+"
+depends=
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$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 \
+ --enable-amalgamation \
+ --enable-pthread \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="cddf2755e20bfb3f90764fd2b689b888 eina-1.7.9.tar.gz"
+sha256sums="b7fe26d98b80479d0f72be47b2584dfa243e4d18774cb824acc398354a45d520 eina-1.7.9.tar.gz"
+sha512sums="f3b7b1951814c457bc94a4678c5c6242a4baada5953d5616092673b6d2b4516cb70c47e935b6f7b393d469627b53a05eb99c4249d19d5d9a3d8a263b2cd4e42d eina-1.7.9.tar.gz"