summaryrefslogtreecommitdiffstats
path: root/main/grep/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/grep/APKBUILD')
-rw-r--r--main/grep/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD
new file mode 100644
index 000000000..4bdc96472
--- /dev/null
+++ b/main/grep/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer:
+pkgname=grep
+pkgver=2.5.4
+pkgrel=1
+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 pcre"
+makedepends="pcre-dev"
+install="$pkgname.post-deinstall"
+subpackages="$pkgname-doc"
+source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
+ $install"
+
+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
+b84506d253e04db3c5af9016fead45a3 grep.post-deinstall"