void-packages/srcpkgs/libzip/template

26 lines
689 B
Bash

# Template file for 'libzip'
pkgname=libzip
version=1.3.1
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=4bf80218cd02dacb2aac1165919b9fe6ae8e3220f3c7c225916204b687d8b829
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"
}
}