mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
deheader: work around broken release tarball
This commit is contained in:
parent
bbf76dbc8f
commit
fe0e35e6c8
1 changed files with 12 additions and 0 deletions
|
@ -2,7 +2,9 @@
|
||||||
pkgname=deheader
|
pkgname=deheader
|
||||||
version=1.6
|
version=1.6
|
||||||
revision=3
|
revision=3
|
||||||
|
create_wrksrc=yes
|
||||||
archs=noarch
|
archs=noarch
|
||||||
|
hostmakedepends="tar"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="C and C++ header analyzer"
|
short_desc="C and C++ header analyzer"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -10,6 +12,16 @@ license="BSD-2-Clause"
|
||||||
homepage="http://www.catb.org/~esr/deheader/"
|
homepage="http://www.catb.org/~esr/deheader/"
|
||||||
distfiles="http://www.catb.org/~esr/deheader/${pkgname}-${version}.tar.gz"
|
distfiles="http://www.catb.org/~esr/deheader/${pkgname}-${version}.tar.gz"
|
||||||
checksum=3b99665c4f0dfda31d200bf2528540d6898cb846499ee91effa2e8f72aff3a60
|
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() {
|
do_install() {
|
||||||
vbin deheader
|
vbin deheader
|
||||||
|
|
Loading…
Add table
Reference in a new issue