void-packages/srcpkgs/libtar/template
Rasmus Thomsen f2c232f10f libtar: fix CVE-2013-4420
also fix the homepage&license in the process
2018-10-13 09:37:22 -03:00

33 lines
810 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.eu>"
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
}
}