summaryrefslogtreecommitdiffstats
path: root/openjpeg/Pkgfile
blob: 153484ca8a3d9eb2c1966184a5b2bc6c5da87192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: Librairie libre codec jpeg 2000
# URL: http://www.ijg.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: zlib, lcms2, libpng, libtiff
# Run on: zlib,lcms2,libpng,libtiff

name=openjpeg
version=1.5.0
release=2
source=(http://openjpeg.googlecode.com/files/openjpeg-$version.tar.gz
	openjpeg-1.4-autoconf.patch
	zlib-include.patch)

build() {
	cd $name-$version
	rm -rf thirdparty
	./configure --prefix=/usr \
		--enable-lcms2 \
		--enable-png \
		--enable-tiff \
		--enable-mj2 \
		--enable-jpip
	make
	make DESTDIR=$PKG install
}