31 lines
858 B
Bash
31 lines
858 B
Bash
# Template file for 'deheader'
|
|
pkgname=deheader
|
|
version=1.6
|
|
revision=3
|
|
create_wrksrc=yes
|
|
archs=noarch
|
|
hostmakedepends="tar"
|
|
depends="python"
|
|
short_desc="C and C++ header analyzer"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://www.catb.org/~esr/deheader/"
|
|
distfiles="http://www.catb.org/~esr/deheader/${pkgname}-${version}.tar.gz"
|
|
checksum=3b99665c4f0dfda31d200bf2528540d6898cb846499ee91effa2e8f72aff3a60
|
|
skip_extraction="${pkgname}-${version}.tar.gz"
|
|
python_version=2
|
|
|
|
do_extract() {
|
|
# bsdtar fails to extract version 1.6 tarball which
|
|
# contains a hard link from the man page to itself.
|
|
tar --strip-components 1 --no-same-owner --extract --file \
|
|
${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.gz \
|
|
--directory ${wrksrc}
|
|
}
|
|
|
|
do_install() {
|
|
vbin deheader
|
|
vman deheader.1
|
|
vlicense COPYING
|
|
}
|