void-packages/srcpkgs/jasper/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

34 lines
906 B
Bash

# Template file for 'jasper'
pkgname=jasper
version=2.0.25
revision=1
wrksrc="${pkgname}-version-${version}"
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=None"
makedepends="libjpeg-turbo-devel"
short_desc="Software-based reference implementation of the JPEG-2000 codec"
maintainer="Orphaned <orphan@voidlinux.org>"
license="JasPer-2.0"
homepage="http://www.ece.uvic.ca/~mdadams/jasper"
distfiles="https://github.com/mdadams/jasper/archive/version-${version}.tar.gz"
checksum=f5bc48e2884bcabd2aca1737baff4ca962ec665b6eb673966ced1f7adea07edb
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/pkgconfig
vmove "usr/lib/*.so"
}
}