void-packages/srcpkgs/libtar/template

30 lines
776 B
Text

# Template file for 'libtar'
pkgname=libtar
version=1.2.11
revision=3
build_style=gnu-configure
makedepends="zlib-devel"
short_desc="tar file manipulation API"
maintainer="davehome <davehome@redthumb.info.tm>"
license="BSD"
homepage="http://www.feep.net/libtar/"
distfiles="ftp://ftp.feep.net/pub/software/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=4a2eefb6b7088f41de57356e5059cbf1f917509b4a810f7c614625a378e87bb8
long_desc="
libtar is a C library for manipulating POSIX tar files. It handles adding and
extracting files to/from a tar archive."
libtar-devel_package() {
depends="zlib-devel libtar>=${version}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}
libtar_package() {
pkg_install() {
vmove usr
}
}