aboutsummaryrefslogtreecommitdiffstats
path: root/extra/grep/APKBUILD
blob: 4bdc96472a21c22e48dd20adc296d3865be6cb59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"