summaryrefslogtreecommitdiffstats
path: root/extra/grep/APKBUILD
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-03-05 21:26:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-06 14:52:19 +0000
commit73487ea591753e31d6f3cc9dfb87a14501395e99 (patch)
tree1372e8293b61aad9469740dca45d0edd70d75096 /extra/grep/APKBUILD
parent059f52fdd844549e462e07d26e6c8ec636a5386b (diff)
downloadaports-73487ea591753e31d6f3cc9dfb87a14501395e99.tar.bz2
aports-73487ea591753e31d6f3cc9dfb87a14501395e99.tar.xz
extra/grep Initial Commit
Diffstat (limited to 'extra/grep/APKBUILD')
-rw-r--r--extra/grep/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/grep/APKBUILD b/extra/grep/APKBUILD
new file mode 100644
index 00000000..580141e7
--- /dev/null
+++ b/extra/grep/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer:
+pkgname=grep
+pkgver=2.5.4
+pkgrel=0
+pkgdesc="Searches input files for lines containing a match to a specified pattern"
+url="http://www.gnu.org/software/grep/grep.html"
+license="GPL"
+depends="uclibc"
+makedepends=""
+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
+ make DESTDIR="$pkgdir" install
+
+}
+
+md5sums="92258031d98d4f12dfc6a6d24057e672 grep-2.5.4.tar.gz"