# Maintainer: PktSurf app=netbsd-curses version=0.3.1 build=1sml homepage="http://ftp.barfooze.de/pub/sabotage/tarballs/" download="https://ftp.barfooze.de/pub/sabotage/tarballs/netbsd-curses-$version.tar.xz" desc="drop-in replacement for the bloated ncurses library with wide character support" requires="gcc-libs" preservestaticlibs=1 prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { cat << EOF > config.mak CC=gcc HOSTCC=gcc AR=ar RANLIB=ranlib CFLAGS=$CFLAGS PREFIX=/usr BINDIR=/usr/bin DESTDIR=$pkg EOF make make install cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" d8f650d241bd9db213194213900983c694194c00fcc406c1091b0be15248f6b6453983027cd87e1ff34eb05c6fd8f63797035d545df8b2642ec9b87a2a6a279e netbsd-curses-0.3.1.tar.lz "