wok view grep/receipt @ rev 18747

marble: one desktop entry only (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 26 13:11:10 2015 +0100 (2015-12-26)
parents 9e01bc6321ea
children c1e55905d29f
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/$bb"
34 done
35 }