2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'jasper'.
|
|
|
|
pkgname=jasper
|
|
|
|
version=1.900.1
|
2013-11-16 08:31:49 +00:00
|
|
|
revision=8
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-01-08 09:10:40 +00:00
|
|
|
configure_args="--enable-shared --disable-static --without-x --disable-opengl"
|
2013-11-16 08:31:49 +00:00
|
|
|
hostmakedepends="unzip"
|
|
|
|
makedepends="libjpeg-turbo-devel"
|
2008-10-02 22:44:43 +00:00
|
|
|
short_desc="Software-based reference implementation of the JPEG-2000 codec"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-08 09:10:40 +00:00
|
|
|
homepage="http://www.ece.uvic.ca/~mdadams/jasper"
|
|
|
|
license="JasPer-2.0"
|
|
|
|
distfiles="http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-${version}.zip"
|
2008-10-30 22:06:26 +00:00
|
|
|
checksum=6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494
|
|
|
|
|
2013-01-08 09:10:40 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/jasper
|
|
|
|
}
|
2013-04-12 14:52:48 +00:00
|
|
|
|
|
|
|
libjasper_package() {
|
|
|
|
short_desc+=" - shared library"
|
|
|
|
pkg_install() {
|
2013-11-16 08:31:49 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 14:52:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jasper-devel_package() {
|
2013-11-16 08:31:49 +00:00
|
|
|
depends="libjpeg-turbo-devel libjasper>=${version}_${revision}"
|
2013-04-12 14:52:48 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-11-16 08:31:49 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 14:52:48 +00:00
|
|
|
}
|
|
|
|
}
|