void-packages/srcpkgs/libowfat/template

19 lines
543 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
CFLAGS="-fcommon"
do_build() {
make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
}