wok view grep/receipt @ rev 23208
updated mxml and mxml-dev (2.8 -> 3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 21 10:40:35 2020 +0100 (2020-03-21) |
parents | bd7c9b9d8a98 |
children | 71360a13cd94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="grep"
4 VERSION="3.4"
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS &&
21 make -j 1 &&
22 make install
24 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs
33 cp -a $install/usr/share/man $fs/usr/share
34 }
36 post_remove()
37 {
38 for i in grep egrep fgrep
39 do
40 ln -sf busybox "$1/bin/$i"
41 done
42 }