PKGBUILDs/core/grep/PKGBUILD

33 lines
890 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Philipp Scholl <pscholl@bawue.de>
pkgname=grep
pkgver=2.5.4
pkgrel=1
pkgdesc="A string search utility"
arch=(arm)
license=('GPL3')
url="http://www.gnu.org/software/grep/grep.html"
groups=('base')
depends=('glibc' 'pcre')
makedepends=('texinfo>=4.8a')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
14-mem-exhausted.patch
15-empty-pattern.patch
# fix for FS#7141 , extracted from debian diff.gz :
# http://ftp.debian.org/debian/pool/main/g/grep/
64-egf-speedup.patch)
md5sums=('92258031d98d4f12dfc6a6d24057e672'
'bc937da562d468f32c1fef2894610283'
'f421415b679ebcc9152797caaa0b1d51'
'efbe9d49d71a74092db6b86224b09fdd')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
for i in ../*.patch; do
patch -Np1 -i ../$i
done
./configure --prefix=/usr --bindir=/bin
make || return 1
make DESTDIR=${pkgdir} install || return 1
}