wok view grep/receipt @ rev 20814

updated cvs and cvs-contrib (1.11.23 -> 1.12.13)
author Hans-G?nter Theisgen
date Mon Feb 18 14:21:45 2019 +0100 (2019-02-18)
parents eb9ac5642747
children bd7c9b9d8a98
line source
1 # SliTaz package receipt.
3 PACKAGE="grep"
4 VERSION="2.25"
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
22 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/bin $fs
30 cp -a $install/usr/share/man $fs/usr/share
31 }
33 post_remove()
34 {
35 for i in grep egrep fgrep; do
36 ln -sf busybox "$1/bin/$i"
37 done
38 }