vp-build/srcpkgs/zzuf/template

27 lines
774 B
Bash

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