38 lines
994 B
Bash
38 lines
994 B
Bash
# Template build file for 'jasper'.
|
|
pkgname=jasper
|
|
version=1.900.22
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-shared --disable-static --without-x --disable-opengl"
|
|
hostmakedepends="automake libtool unzip"
|
|
makedepends="libjpeg-turbo-devel"
|
|
short_desc="Software-based reference implementation of the JPEG-2000 codec"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.ece.uvic.ca/~mdadams/jasper"
|
|
license="JasPer-2.0"
|
|
distfiles="http://www.ece.uvic.ca/~frodo/jasper/software/jasper-${version}.tar.gz"
|
|
checksum=6c942ae79108cd6a359e5bc34ea03565bd33ac20f6814cb09c4f92298b6b1cb8
|
|
|
|
CFLAGS="-std=c99"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libjasper_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
jasper-devel_package() {
|
|
depends="libjpeg-turbo-devel libjasper>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|