zzuf: update to 0.15.

This commit is contained in:
Rasmus Thomsen 2019-01-11 16:18:34 +01:00 committed by maxice8
parent 6cd6204a17
commit a69d00a812
1 changed files with 11 additions and 11 deletions

View File

@ -1,26 +1,26 @@
# Template build file for 'zzuf'. # Template file for 'zzuf'
pkgname=zzuf pkgname=zzuf
version=0.13 version=0.15
revision=3 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="--disable-static"
short_desc="Multi-purpose fuzzer" short_desc="Multi-purpose fuzzer"
maintainer="pancake <pancake@nopcode.org>" maintainer="pancake <pancake@nopcode.org>"
license="WTFPL"
homepage="http://caca.zoy.org/wiki/zzuf" homepage="http://caca.zoy.org/wiki/zzuf"
license="GPL-3" distfiles="https://github.com/samhocevar/zzuf/releases/download/v${version}/zzuf-${version}.tar.bz2"
distfiles="http://caca.zoy.org/files/zzuf/${pkgname}-${version}.tar.gz" checksum=04353d94c68391b3945199f100ab47fc5ff7815db1e92581a600d4175e3a6872
checksum=0842c548522028c3e0d9c9cf7d09f6320b661f33824bb6df19ca209851bdf627
post_configure() { post_configure() {
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) # Disable the *64 variants of libc functions because *-musl) # Disable the *64 variants of libc functions because
# they are just macros calling the regular functions # they are just macros calling the regular functions
sed -i config.h -e "/#define HAVE_.*64/s;#define \(HAVE_.*\);/* #undef \1 */;" ;; sed -i config.h \
-e "/#define HAVE_.*64/s;#define \(HAVE_.*\);/* #undef \1 */;" \
-e "/#define HAVE_AIO_READ/d" ;;
esac esac
} }
post_install() { post_install() {
# Rename conflicting files vlicense COPYING
mv ${DESTDIR}/usr/share/man/man1/{zzcat,zzuf-cat}.1
mv ${DESTDIR}/usr/bin/{zzcat,zzuf-cat}
} }