void-packages/srcpkgs/libtar/template

33 lines
777 B
Bash

# Template file for 'libtar'
pkgname=libtar
version=1.2.20
revision=2
wrksrc="$pkgname"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
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-${version}.tar.gz"
checksum=43c5f50e6b4398c8be35d6f3abee26064c3f26174715b60004576792e3283353
post_install() {
vlicense COPYRIGHT
}
pre_configure() {
autoreconf -fi
}
libtar-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}