summaryrefslogtreecommitdiffstats
path: root/openjpeg/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'openjpeg/Pkgfile')
-rwxr-xr-xopenjpeg/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/openjpeg/Pkgfile b/openjpeg/Pkgfile
new file mode 100755
index 000000000..eab2f6b65
--- /dev/null
+++ b/openjpeg/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Librairie libre codec jpeg 2000
+# URL: http://www.ijg.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+# Run on:
+
+name=openjpeg
+version=1.3
+release=1
+_version=v1_3
+source=( http://www.openjpeg.org/openjpeg_${_version}.tar.gz \
+ 30_fix_build_for_debian.dpatch)
+
+
+build() {
+ cd OpenJPEG_${_version}
+ patch -Np1 -i ../30_fix_build_for_debian.dpatch
+ make
+ make DESTDIR=$PKG install
+ ln -s libopenjpeg.so.2 $PKG/usr/lib/libopenjpeg.so
+}
+