# Description: OpenJPEG is an open-source implementation of the JPEG-2000 standard.
# URL: http://www.ijg.org/
# Packager: pierre at nutyx dot org
# Depends on: lcms2 libpng libtiff 

name=openjpeg
version=1.5.2
release=1

source=(http://downloads.sourceforge.net/openjpeg.mirror/$name-$version.tar.gz )


build() {
	cd openjpeg-$version
	autoreconf -f -i
	./configure --prefix=/usr --disable-static
	make
	make DESTDIR=$PKG install
	ln -s openjpeg-1.5/openjpeg.h $PKG/usr/include
}
