diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template new file mode 100644 index 00000000000..13e8cb95625 --- /dev/null +++ b/srcpkgs/libowfat/template @@ -0,0 +1,19 @@ +# Template file for 'libowfat' +pkgname=libowfat +version=0.30 +revision=1 +build_style=gnu-makefile +short_desc="reimplement libdjb" +maintainer="Enno Boland " +license="GPL-2" +homepage="https://www.fefe.de/libowfat/" +distfiles="https://www.fefe.de/$pkgname/$pkgname-$version.tar.xz" +checksum=db4a3a853cfbb9e83b27f565b580f6fdc519475b162edc1a656043e1c126e993 + +pre_build() { + CFLAGS+=" -I$wrksrc" +} + +pre_install() { + make_install_args="prefix=$DESTDIR/usr MAN3DIR=$DESTDIR/usr/share/man/man3" +}