42 lines
1 KiB
Bash
42 lines
1 KiB
Bash
# Template file for 'jbigkit'
|
|
pkgname=jbigkit
|
|
version=2.1
|
|
revision=2
|
|
wrksrc="${pkgname}-shared-${version}"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Data compression library/utilities for bi-level high-resolution images"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="GPL-3"
|
|
homepage="http://www.cl.cam.ac.uk/~mgk25/jbigkit"
|
|
distfiles="https://github.com/voidlinux/jbigkit-shared/archive/v${version}.tar.gz"
|
|
checksum=bce256a39735145ecfc10d3e446e0b55fed1f7c80cffb6e2601a9090faae92e6
|
|
disable_parallel_build=yes
|
|
|
|
pre_configure() {
|
|
./bootstrap.sh
|
|
}
|
|
|
|
post_install() {
|
|
vinstall jbigkit.pc 644 usr/lib/pkgconfig
|
|
vinstall jbigkit85.pc 644 usr/lib/pkgconfig
|
|
rm -vf ${DESTDIR}/usr/lib/*.la
|
|
}
|
|
|
|
jbigkit-libs_package() {
|
|
short_desc+=" - shared libraries"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so.*
|
|
}
|
|
}
|
|
|
|
jbigkit-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-libs>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/*.a
|
|
}
|
|
}
|