void-packages/srcpkgs/libtar/template

22 lines
609 B
Bash

# Template file for 'libtar'
pkgname=libtar
version=1.2.11
revision=7
build_style=gnu-configure
makedepends="zlib-devel"
short_desc="C library for manipulating POSIX tar files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://www.feep.net/libtar/"
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/libtar-1.2.11.tar.gz"
checksum=4a2eefb6b7088f41de57356e5059cbf1f917509b4a810f7c614625a378e87bb8
libtar-devel_package() {
depends="zlib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}