2013-02-11 13:45:26 +00:00
|
|
|
# Template file for 'libzip'
|
|
|
|
pkgname=libzip
|
2015-05-05 07:36:00 +00:00
|
|
|
version=1.0.1
|
2015-05-04 05:27:26 +00:00
|
|
|
revision=1
|
2013-02-11 13:45:26 +00:00
|
|
|
build_style=gnu-configure
|
2015-05-04 05:27:26 +00:00
|
|
|
hostmakedepends="perl"
|
2014-01-16 21:14:17 +00:00
|
|
|
makedepends="zlib-devel"
|
2013-02-11 13:45:26 +00:00
|
|
|
short_desc="C library for reading, creating, and modifying zip archives"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-02-11 13:45:26 +00:00
|
|
|
license="GPL-2"
|
2015-05-05 07:36:00 +00:00
|
|
|
homepage="http://www.nih.at/libzip"
|
2013-02-11 13:45:26 +00:00
|
|
|
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
|
2015-05-05 07:36:00 +00:00
|
|
|
checksum=0cef914d8f5105ccac44484f61413daa08d7204758e77240a4d20ebf967f3d49
|
2014-01-16 21:14:17 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
ln -sfr ${DESTDIR}/usr/lib/libzip/include/zipconf.h ${DESTDIR}/usr/include/zipconf.h
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libzip-devel_package() {
|
2014-06-08 09:33:45 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2014-01-16 21:14:17 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/lib/libzip
|
|
|
|
}
|
|
|
|
}
|