grep: add metafile support, cleanups

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-14 12:40:24 +01:00
parent 6f4a178f4d
commit fee6bec11e
4 changed files with 14 additions and 6 deletions

View File

@ -2,9 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/build pcre
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@ -2,7 +2,5 @@
. config/options $1
$SCRIPTS/install pcre
mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/src/grep $INSTALL/usr/bin

View File

@ -0,0 +1,14 @@
PKG_NAME="grep"
PKG_VERSION="2.7"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/grep/"
PKG_URL="ftp://sunsite.cnlab-switch.ch/mirror/gnu/grep/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="pcre"
PKG_BUILD_DEPENDS="toolchain pcre"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="grep: This is GNU grep, the fastest grep in the west"
PKG_LONGDESC="GNU grep is based on a fast lazy-state deterministic matcher (about twice as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper search for a fixed string that eliminates impossible text from being considered by the full regexp matcher without necessarily having to look at every character. The result is typically many times faster than Unix grep or egrep."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
ftp://sunsite.cnlab-switch.ch/mirror/gnu/grep/grep-2.7.tar.gz