void-packages/srcpkgs/libowfat/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
559 B
Bash

# Template file for 'libowfat'
pkgname=libowfat
version=0.32
revision=1
build_style=gnu-makefile
make_install_args="prefix=/usr MAN3DIR=/usr/share/man/man3"
short_desc="Reimplement libdjb"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2"
homepage="https://www.fefe.de/libowfat/"
distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1
patch_args=-Np0
CFLAGS="-fcommon"
do_build() {
make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
}