void-packages/srcpkgs/jasper/template
Michael Gehring 4c035183ea jasper: various security fixes (Alpine patches)
CVE-2008-3520 CVE-2008-3522 CVE-2014-8137 CVE-2014-8138
CVE-2014-8157 CVE-2014-8158 CVE-2014-9029 CVE-2015-5203
CVE-2016-1577 CVE-2016-2089 CVE-2016-2116
2016-05-04 17:46:35 +02:00

34 lines
939 B
Bash

# Template build file for 'jasper'.
pkgname=jasper
version=1.900.1
revision=10
build_style=gnu-configure
configure_args="--enable-shared --disable-static --without-x --disable-opengl"
hostmakedepends="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/~mdadams/jasper/software/jasper-${version}.zip"
checksum=6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494
patch_args="-Np1"
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"
}
}