# Maintainer: PktSurf app=grep version=3.6 build=1sml homepage="https://www.gnu.org/software/grep/" download="https://ftp.gnu.org/gnu/grep/grep-$version.tar.xz" desc="print lines matching a pattern" requires="pcre" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { LDFLAGS="-static" \ ./configure \ --prefix=/usr make make install DESTDIR=$pkg cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" 6de73a5e36340293572d3ac2ea4f262c95e89cf343e148df412623c97ddbb66ad5a2e081fde79ba2a94744659c4eef05d734eed8e22b351aad9661a794bab265 grep-3.6.tar.lz "