summaryrefslogtreecommitdiffstats
path: root/base/openjpeg/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/openjpeg/Pkgfile')
-rwxr-xr-xbase/openjpeg/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/base/openjpeg/Pkgfile b/base/openjpeg/Pkgfile
new file mode 100755
index 000000000..eab2f6b65
--- /dev/null
+++ b/base/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
+}
+