summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/openjpeg/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-09-19 20:48:07 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-09-19 20:48:07 (GMT)
commit06cd7d02096c8672ed5fb54a18b7fa31bef05082 (patch)
treea7104409bc50a2fca05afb9f896909c18dc66fe6 /abs/extra-testing/openjpeg/PKGBUILD
parent3b759522527e770cce1e8c468afca13afeab4d9c (diff)
downloadlinhes_pkgbuild-06cd7d02096c8672ed5fb54a18b7fa31bef05082.zip
linhes_pkgbuild-06cd7d02096c8672ed5fb54a18b7fa31bef05082.tar.gz
linhes_pkgbuild-06cd7d02096c8672ed5fb54a18b7fa31bef05082.tar.bz2
openjpeg: added
Diffstat (limited to 'abs/extra-testing/openjpeg/PKGBUILD')
-rw-r--r--abs/extra-testing/openjpeg/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra-testing/openjpeg/PKGBUILD b/abs/extra-testing/openjpeg/PKGBUILD
new file mode 100644
index 0000000..087da2f
--- /dev/null
+++ b/abs/extra-testing/openjpeg/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=openjpeg
+pkgver=1.3
+_pkgver=v1_3
+pkgrel=3
+pkgdesc="An open source JPEG 2000 codec"
+arch=(i686 x86_64)
+license=('BSD')
+url="http://www.openjpeg.org"
+depends=('glibc')
+source=(http://www.openjpeg.org/openjpeg_${_pkgver}.tar.gz
+ 30_fix_build_for_debian.dpatch)
+md5sums=('f9a3ccfa91ac34b589e9bf7577ce8ff9'
+ '2557f485513e77f6dcea77f4741c4fa1')
+
+build() {
+ cd "${srcdir}/OpenJPEG_${_pkgver}"
+ patch -Np1 -i "${srcdir}/30_fix_build_for_debian.dpatch" || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ install -m755 -d "${pkgdir}/usr/share/licenses/openjpeg"
+ tr '\r' '\n' < license.txt > "${pkgdir}/usr/share/licenses/openjpeg/license.txt" || return 1
+ chmod 644 "${pkgdir}/usr/share/licenses/openjpeg/license.txt" || return 1
+ ln -s libopenjpeg.so.2 "${pkgdir}/usr/lib/libopenjpeg.so" || return 1
+}