void-packages/srcpkgs/jasper/template

35 lines
948 B
Text
Raw Normal View History

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