summaryrefslogtreecommitdiffstats
path: root/extra/openjpeg/Pkgfile
blob: eab2f6b65cf6b2b656e9da4329b8ba47e68a5291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}