void-packages/srcpkgs/dumpet/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

19 lines
646 B
Bash

# Template file for 'dumpet'
pkgname=dumpet
version=2.1
revision=5
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="popt-devel libxml2-devel"
short_desc="Tool to dump and debug bootable CD-like images"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://tracker.debian.org/pkg/dumpet"
distfiles="http://http.debian.net/debian/pool/main/d/dumpet/dumpet_${version}.orig.tar.bz2"
checksum=2cc1fa3a1b06f885e4524d1be80bdacc5b6a55057d0577262f2f5186b49a4da3
patch_args=-Np0
do_build() {
make CC=$CC CFLAGS="$CFLAGS -I${XBPS_CROSS_BASE}/usr/include/libxml2" \
LFLAGS="$LDFLAGS -lpopt -lxml2"
}