From fee6bec11ea7e76482efe382306a7d561e8ab0f4 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 14 Nov 2010 12:40:24 +0100 Subject: [PATCH] grep: add metafile support, cleanups Signed-off-by: Stephan Raue --- packages/sysutils/grep/build | 3 --- packages/sysutils/grep/install | 2 -- packages/sysutils/grep/meta | 14 ++++++++++++++ packages/sysutils/grep/url | 1 - 4 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 packages/sysutils/grep/meta delete mode 100644 packages/sysutils/grep/url diff --git a/packages/sysutils/grep/build b/packages/sysutils/grep/build index a18b353899..c63dca2f86 100755 --- a/packages/sysutils/grep/build +++ b/packages/sysutils/grep/build @@ -2,9 +2,6 @@ . config/options $1 -$SCRIPTS/build toolchain -$SCRIPTS/build pcre - cd $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ diff --git a/packages/sysutils/grep/install b/packages/sysutils/grep/install index 218e9c6907..8643d6793f 100755 --- a/packages/sysutils/grep/install +++ b/packages/sysutils/grep/install @@ -2,7 +2,5 @@ . config/options $1 -$SCRIPTS/install pcre - mkdir -p $INSTALL/usr/bin cp $PKG_BUILD/src/grep $INSTALL/usr/bin diff --git a/packages/sysutils/grep/meta b/packages/sysutils/grep/meta new file mode 100644 index 0000000000..e58f52b99f --- /dev/null +++ b/packages/sysutils/grep/meta @@ -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" diff --git a/packages/sysutils/grep/url b/packages/sysutils/grep/url deleted file mode 100644 index 5395ad54af..0000000000 --- a/packages/sysutils/grep/url +++ /dev/null @@ -1 +0,0 @@ -ftp://sunsite.cnlab-switch.ch/mirror/gnu/grep/grep-2.7.tar.gz