2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'jasper'.
|
|
|
|
pkgname=jasper
|
|
|
|
version=1.900.1
|
2014-11-23 09:42:44 +01:00
|
|
|
revision=9
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-01-08 10:10:40 +01:00
|
|
|
configure_args="--enable-shared --disable-static --without-x --disable-opengl"
|
2013-11-16 09:31:49 +01:00
|
|
|
hostmakedepends="unzip"
|
|
|
|
makedepends="libjpeg-turbo-devel"
|
2008-10-03 00:44:43 +02:00
|
|
|
short_desc="Software-based reference implementation of the JPEG-2000 codec"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-08 10:10:40 +01: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 23:06:26 +01:00
|
|
|
checksum=6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494
|
|
|
|
|
2013-01-08 10:10:40 +01:00
|
|
|
post_install() {
|
2014-11-23 09:42:44 +01:00
|
|
|
vlicense LICENSE
|
2013-01-08 10:10:40 +01:00
|
|
|
}
|
2013-04-12 16:52:48 +02:00
|
|
|
|
|
|
|
libjasper_package() {
|
|
|
|
short_desc+=" - shared library"
|
|
|
|
pkg_install() {
|
2013-11-16 09:31:49 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 16:52:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
jasper-devel_package() {
|
2013-11-16 09:31:49 +01:00
|
|
|
depends="libjpeg-turbo-devel libjasper>=${version}_${revision}"
|
2013-04-12 16:52:48 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-11-16 09:31:49 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 16:52:48 +02:00
|
|
|
}
|
|
|
|
}
|