diff options
-rw-r--r-- | testing/eet/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/eet/APKBUILD b/testing/eet/APKBUILD new file mode 100644 index 0000000000..bbfa2a516d --- /dev/null +++ b/testing/eet/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=eet +pkgver=1.4.0 +pkgrel=0 +pkgdesc="Enlightenment's file chunk reading/writing library" +url="http://trac.enlightenment.org/e/wiki/Eet" +arch="all" +license="BSD" +depends= +depends_dev="eina-dev openssl-dev zlib-dev jpeg-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://download.enlightenment.org/releases/eet-$pkgver.tar.gz" + +_builddir="$srcdir"/eet-$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 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la +} + +md5sums="5b0f3034d2dcc2ad13049a4ab6100ca6 eet-1.4.0.tar.gz" |