New Package: openjpeg and related libs open source implementation

of JPEG200 library (another one needed by darktable )

Regards

Carlo
This commit is contained in:
onekk 2014-05-02 16:56:52 +02:00
parent cec1d8de23
commit eda71f6eac
3 changed files with 33 additions and 0 deletions

1
srcpkgs/libopenjpeg Symbolic link
View file

@ -0,0 +1 @@
openjpeg

1
srcpkgs/libopenjpeg-devel Symbolic link
View file

@ -0,0 +1 @@
openjpeg

31
srcpkgs/openjpeg/template Normal file
View file

@ -0,0 +1,31 @@
# Template file for 'openjpeg'
pkgname=openjpeg
version=1.5.1
revision=1
build_style=gnu-configure
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
homepage="http://www.openjpeg.org/"
license="BSD"
short_desc="The OpenJPEG library is an open-source JPEG 2000 codec written in C language"
configure_args="--prefix=/usr --disable-static"
hostmakedepends="pkg-config"
makedepends="libpng-devel lcms2-devel tiff-devel doxygen"
distfiles="http://openjpeg.googlecode.com/files/${pkgname}-${version}.tar.gz"
checksum="6cfb3097a1c8e9550131b17663daf927f42707bc3f84196c1390642e87f3ab8d"
libopenjpeg-devel_package() {
short_desc+=" - development files"
depends="libopenjpeg>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}
libopenjpeg_package() {
short_desc+=" - library files"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}