# Template file for 'libtar'
pkgname=libtar
version=1.2.11
revision=5
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.feep.net/pub/software/${pkgname}/${pkgname}-${version}.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"
	}
}
