diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-05-24 20:38:53 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-05-25 19:36:36 +0000 |
commit | a4a2fd077a7f02d37dbc02c61d579322279d344a (patch) | |
tree | 711988dea1cd30360f8756e0e321fc4022df2b38 /testing/openjpeg/APKBUILD | |
parent | 74ef038e5e366539c59c85f8b8b2dc157fd83456 (diff) | |
download | aports-a4a2fd077a7f02d37dbc02c61d579322279d344a.tar.bz2 aports-a4a2fd077a7f02d37dbc02c61d579322279d344a.tar.xz |
testing/openjpeg: upgrade 1.5.0
Diffstat (limited to 'testing/openjpeg/APKBUILD')
-rw-r--r-- | testing/openjpeg/APKBUILD | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/testing/openjpeg/APKBUILD b/testing/openjpeg/APKBUILD index 5f1c0ae520..d2e3912bbd 100644 --- a/testing/openjpeg/APKBUILD +++ b/testing/openjpeg/APKBUILD @@ -1,21 +1,20 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: pkgname=openjpeg -pkgver=1.3 -_pkgver="v${pkgver%.*}_${pkgver#*.}" +pkgver=1.5.0 pkgrel=1 -pkgdesc="open-source implementation of JPEG2000 image codec" +pkgdesc="Open-source implementation of JPEG2000 image codec" url="http://www.openjpeg.org/" arch="all" license="BSD" -depends= -depends_dev= -makedepends="$depends_dev" +depends="" +depends_dev="pkgconfig" +makedepends="$depends_dev libpng-dev tiff-dev lcms-dev doxygen" install="" subpackages="$pkgname-dev" -source="http://openjpeg.googlecode.com/files/openjpeg_${_pkgver}.tar.gz" +source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz" -_builddir="${srcdir}/OpenJPEG_${_pkgver}" +_builddir="${srcdir}/$pkgname-$pkgver" prepare() { local i mkdir "$_builddir" @@ -29,12 +28,21 @@ prepare() { build() { cd "$_builddir" - make || return 1 + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-static \ + --enable-mj2 \ + --enable-jpwl \ + --enable-jpip \ + || return 1 + make LDFLAGS="-lm" || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la } -md5sums="f9a3ccfa91ac34b589e9bf7577ce8ff9 openjpeg_v1_3.tar.gz" +md5sums="e5d66193ddfa59a87da1eb08ea86293b openjpeg-1.5.0.tar.gz" |