wok-next view grep/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents 8563f3c36069
children 9a17d981d0f7
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 WEB_SITE="https://www.gnu.org/software/grep/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="pcre"
15 BUILD_DEPENDS="pcre-dev perl gettext"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cook_copy_folders bin
28 }
30 post_remove()
31 {
32 for i in grep egrep fgrep; do
33 ln -sf busybox "$1/bin/$i"
34 done
35 }