wok annotate grep/receipt @ rev 19983

Up openvpn (2.3.17)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 22 17:37:32 2017 +0200 (2017-06-22)
parents eb9ac5642747
children bd7c9b9d8a98
rev   line source
paul@7100 1 # SliTaz package receipt.
paul@7100 2
paul@7100 3 PACKAGE="grep"
al@19222 4 VERSION="2.25"
paul@7100 5 CATEGORY="development"
paul@7100 6 SHORT_DESC="GNU Global Regular Expression Print."
paul@7100 7 MAINTAINER="paul@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
slaxemulator@11681 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
paul@7100 10 WEB_SITE="http://www.gnu.org/software/grep/"
paul@7100 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
paul@7100 12
slaxemulator@11681 13 DEPENDS="pcre"
slaxemulator@11681 14 BUILD_DEPENDS="pcre-dev"
slaxemulator@11681 15
paul@7100 16 # Rules to configure and make the package.
paul@7100 17 compile_rules()
paul@7100 18 {
al@18741 19 ./configure $CONFIGURE_ARGS &&
slaxemulator@10089 20 make && make install
al@19222 21
al@19222 22 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
paul@7100 23 }
paul@7100 24
paul@7100 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7100 26 genpkg_rules()
paul@7100 27 {
al@19222 28 mkdir -p $fs/usr/share
al@18999 29 cp -a $install/usr/bin $fs
al@19222 30 cp -a $install/usr/share/man $fs/usr/share
paul@7100 31 }
paul@7100 32
slaxemulator@7187 33 post_remove()
slaxemulator@7187 34 {
al@18741 35 for i in grep egrep fgrep; do
al@18999 36 ln -sf busybox "$1/bin/$i"
pascal@17502 37 done
slaxemulator@7187 38 }