Merge pull request #1348 from thypon/jbigkit

New package: jbigkit-2.1
This commit is contained in:
Juan RP 2015-04-24 16:22:35 +02:00
commit e60f492377
2 changed files with 39 additions and 0 deletions

1
srcpkgs/jbigkit-devel Symbolic link
View File

@ -0,0 +1 @@
jbigkit/

38
srcpkgs/jbigkit/template Normal file
View File

@ -0,0 +1,38 @@
# Template file for 'jbigkit'
pkgname=jbigkit
version=2.1
revision=1
build_style=gnu-makefile
short_desc="Data compression library/utilities for bi-level high-resolution images"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3"
homepage="http://www.cl.cam.ac.uk/~mgk25/jbigkit"
distfiles="http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-$version.tar.gz"
checksum=de7106b6bfaf495d6865c7dd7ac6ca1381bd12e0d81405ea81e7f2167263d932
do_build() {
CFLAGS+=-I${wrksrc}/libjbig make -e
}
do_install() {
# Install pbm tools
for tool in $(find pbmtools/ -executable -type f); do
vbin $tool
done
# Install man pages
for manp in pbmtools/*.{1,5}; do
vman $manp
done
}
jbigkit-devel_package() {
short_desc+=" - development files"
pkg_install() {
for lib in libjbig/*.a; do
vinstall $lib 644 usr/lib
done
for header in libjbig/*.h; do
vinstall $header 644 usr/include
done
}
}