diff options
Diffstat (limited to 'main/grep/APKBUILD')
-rw-r--r-- | main/grep/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD new file mode 100644 index 0000000000..6f40772cdf --- /dev/null +++ b/main/grep/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: +pkgname=grep +pkgver=2.8 +pkgrel=0 +pkgdesc="Searches input files for lines containing a match to a specified pattern" +url="http://www.gnu.org/software/grep/grep.html" +arch="all" +license="GPL" +depends= +makedepends="pcre-dev" +install= +subpackages="$pkgname-doc" +source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-nls + make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} + +md5sums="cb2dfc502c5afc7a4a6e5f6cefd6850e grep-2.8.tar.gz" |