2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'jasper'.
|
|
|
|
pkgname=jasper
|
|
|
|
version=1.900.1
|
2013-04-12 14:52:48 +00:00
|
|
|
revision=7
|
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"
|
|
|
|
makedepends="unzip 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() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jasper-devel_package() {
|
|
|
|
depends="libjpeg-turbo-devel libjasper>=${version}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jasper_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|