diff options
-rw-r--r-- | community/openexr/APKBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/community/openexr/APKBUILD b/community/openexr/APKBUILD index aceac1e042..eb0231cbb5 100644 --- a/community/openexr/APKBUILD +++ b/community/openexr/APKBUILD @@ -1,27 +1,26 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: +# Maintainer: Mark Riedesel <mark+alpine@klowner.com> pkgname=openexr pkgver=2.2.0 pkgrel=1 -pkgdesc="An high dynamic-range image file format library" +pkgdesc="A high dynamic-range image file format library" url="http://www.openexr.com/" arch="all" license="BSD" depends="" -depends_dev="" makedepends="ilmbase-dev zlib-dev" -install="" -subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" +subpackages="$pkgname-doc $pkgname-dev $pkgname-tools" source="http://download.savannah.nongnu.org/releases/openexr/${pkgname}-${pkgver}.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" -_builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" + cd "$builddir" + default_prepare || return 1 update_config_sub || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,7 +35,13 @@ build() { package() { make DESTDIR="$pkgdir" \ - -C "$_builddir" install || return 1 + -C "$builddir" install || return 1 +} + +tools() { + cd "$builddir" + mkdir -p "$subpkgdir"/usr/ + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } md5sums="b64e931c82aa3790329c21418373db4e openexr-2.2.0.tar.gz" |