mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
grep: add metafile support, cleanups
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
6f4a178f4d
commit
fee6bec11e
@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
|
||||||
$SCRIPTS/build pcre
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
|
@ -2,7 +2,5 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
$SCRIPTS/install pcre
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
mkdir -p $INSTALL/usr/bin
|
||||||
cp $PKG_BUILD/src/grep $INSTALL/usr/bin
|
cp $PKG_BUILD/src/grep $INSTALL/usr/bin
|
||||||
|
14
packages/sysutils/grep/meta
Normal file
14
packages/sysutils/grep/meta
Normal 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"
|
@ -1 +0,0 @@
|
|||||||
ftp://sunsite.cnlab-switch.ch/mirror/gnu/grep/grep-2.7.tar.gz
|
|
Loading…
x
Reference in New Issue
Block a user