From: gobo72 Date: Sat, 10 Sep 2011 17:19:19 +0000 (+0000) Subject: Ajout ack, alternative à grep X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=9a7a51f905a83df3d66f0d9ca5e658a691a6e853;p=hvlinux.git Ajout ack, alternative à grep --- diff --git a/config/packages-list b/config/packages-list index 2fbffaa..00e43b0 100644 --- a/config/packages-list +++ b/config/packages-list @@ -4,6 +4,7 @@ # as well the corresponding patches, if needed. ABIWORD="abiword-2.8.6" +ACK="ack-1.94" ACPID="acpid-2.0.9" AGG="agg-2.5" ALSA_LIB="alsa-lib-1.0.21" @@ -352,7 +353,6 @@ PERL_MOD_DIGEST_SHA1="Digest-SHA1-2.13" PERL_MOD_LWP="libwww-perl-6.01" PERL_MOD_URI="URI-1.58" PERL_MOD_NET_DNS="Net-DNS-0.66" - PHP="php-5.3.3" PIXMAN="pixman-0.22.0" POLKIT="polkit-0.99" diff --git a/stage3/hv-install-1 b/stage3/hv-install-1 index 6220b56..2026110 100755 --- a/stage3/hv-install-1 +++ b/stage3/hv-install-1 @@ -80,6 +80,9 @@ ipkg -m pm ${PERL_MOD_PDL} ipkg -m pm ${PERL_MOD_XML_WRITER} ipkg -m pm ${PERL_MOD_XML_PARSER} +# Grep alternative +ipkg -m noac ${ACK} + ipkg ${INTLTOOL} ipkg ${PYTHON} "--enable-shared" diff --git a/stage3/packages-update b/stage3/packages-update index ae5cbe5..a9cf8b1 100755 --- a/stage3/packages-update +++ b/stage3/packages-update @@ -70,6 +70,8 @@ fpkg -m sf -s "pdl" ${PERL_MOD_PDL} fpkg -m pm -s "J/JO/JOSEPHW" ${PERL_MOD_XML_WRITER} fpkg -m pm -s "C/CH/CHORNY" ${PERL_MOD_XML_PARSER} +fpkg -m hv ${ACK} + fpkg -m gnome ${INTLTOOL} fpkg ${PYTHON} "http://www.python.org/ftp/python/$(get_pkg_ver ${PYTHON})" diff --git a/stage3/pkg/ack b/stage3/pkg/ack new file mode 100644 index 0000000..a421df9 --- /dev/null +++ b/stage3/pkg/ack @@ -0,0 +1,7 @@ +#!/bin/bash + +hvbuild() +{ + install -v -m 755 ${LFS_TMP}/${PACKAGE}/ack /usr/bin + string_add "alias ack='ack --pager=\"less -RFX\"'" /etc/bashrc +}