wok view grep/receipt @ rev 18999

grep: move from /usr/bin to /bin
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 21 11:33:21 2016 +0200 (2016-03-21)
parents c1e55905d29f
children 8563f3c36069
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 cp -a $install/usr/bin $fs
27 }
29 post_remove()
30 {
31 for i in grep egrep fgrep; do
32 ln -sf busybox "$1/bin/$i"
33 done
34 }