void-packages/srcpkgs/libzip/template
2014-06-08 11:33:45 +02:00

29 lines
794 B
Text

# Template file for 'libzip'
pkgname=libzip
version=0.11.2
revision=2
build_style=gnu-configure
makedepends="zlib-devel"
short_desc="C library for reading, creating, and modifying zip archives"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.nih.at/libzip/"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum=83db1fb43a961ff7d1d1b50e1c6bea09c67e6af867686d1fc92ecb7dc6cf98d5
post_install() {
ln -sfr ${DESTDIR}/usr/lib/libzip/include/zipconf.h ${DESTDIR}/usr/include/zipconf.h
}
libzip-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/libzip
}
}