#!/bin/bash # grep # # Douglas Thrift # # $Id$ name=grep version=2.5.1a revision=0 categories=(base textproc) description='Regular expression matcher' url='http://www.gnu.org/software/grep/grep.html' depends=('base/bzip2' 'base/zlib') sources=(`site_gnu $name-$version.tar.bz2` grep.patch) function build() { gnu_patch grep.patch || return $? gnu_configure --prefix=/usr --bindir=/bin --infodir=/usr/share/info --mandir=/usr/share/man --disable-perl-regexp }