void-packages/srcpkgs/libtar/template

34 lines
811 B
Bash

# Template file for 'libtar'
pkgname=libtar
version=1.2.20
revision=3
wrksrc="$pkgname"
patch_args="-Np1"
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.org>"
license="BSD-3-Clause"
homepage="https://repo.or.cz/w/libtar.git"
distfiles="https://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
}
}