From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/grep/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 main/grep/APKBUILD (limited to 'main/grep/APKBUILD') diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD new file mode 100644 index 0000000000..4bdc96472a --- /dev/null +++ b/main/grep/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Michael Mason +# 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" -- cgit v1.2.3