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