wok-current view grep/receipt @ rev 18890
Up cookutils (793), tazpanel (566)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 12 16:05:17 2016 +0100 (2016-02-12) |
parents | 6fab3264ba87 |
children | eb9ac5642747 |
line source
1 # SliTaz package receipt.
3 PACKAGE="grep"
4 VERSION="2.11"
5 CATEGORY="development"
6 SHORT_DESC="GNU Global Regular Expression Print."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnu.org/software/grep/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="pcre"
14 BUILD_DEPENDS="pcre-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/bin $fs/usr
28 }
30 post_remove()
31 {
32 for i in grep egrep fgrep; do
33 ln -sf /bin/busybox "/usr/bin/$i"
34 done
35 }