30 lines
818 B
Bash
30 lines
818 B
Bash
# Template file for 'libzip'
|
|
pkgname=libzip
|
|
version=1.1.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="perl"
|
|
makedepends="zlib-devel"
|
|
short_desc="C library for reading, creating, and modifying zip archives"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://www.nih.at/libzip"
|
|
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
|
|
checksum=1faa5a524dd4a12c43b6344e618edce1bf8050dfdb9d0f73f3cc826929a002b0
|
|
|
|
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
|
|
}
|
|
}
|