wok view grep/receipt @ rev 20283

security fixes from 0.3.1.9 (2017 Dec 1) and 0.3.1.10 (March 3)... further info: https://blog.torproject.org/new-stable-tor-releases-security-fixes-and-dos-prevention-03210-03110-02915
author Erkan Yilmaz <erkan@slitaz.org>
date Tue Mar 27 11:09:07 2018 +0000 (2018-03-27)
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 }