wok annotate grep/receipt @ rev 22863

updated gnupg (2.2.8 -> 2.2.19)
author Hans-G?nter Theisgen
date Fri Feb 21 07:27:36 2020 +0100 (2020-02-21)
parents 8563f3c36069
children cc3cefae8ca2
rev   line source
paul@7100 1 # SliTaz package receipt.
paul@7100 2
paul@7100 3 PACKAGE="grep"
Hans-G?nter@21000 4 VERSION="3.3"
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"
Hans-G?nter@21000 9 WEB_SITE="https://www.gnu.org/software/grep/"
Hans-G?nter@21000 10
slaxemulator@11681 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
paul@7100 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
paul@7100 13
slaxemulator@11681 14 DEPENDS="pcre"
slaxemulator@11681 15 BUILD_DEPENDS="pcre-dev"
slaxemulator@11681 16
paul@7100 17 # Rules to configure and make the package.
paul@7100 18 compile_rules()
paul@7100 19 {
al@18741 20 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21000 21 make -j 1 &&
Hans-G?nter@21000 22 make install
al@19222 23
al@19222 24 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
paul@7100 25 }
paul@7100 26
paul@7100 27 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7100 28 genpkg_rules()
paul@7100 29 {
al@19222 30 mkdir -p $fs/usr/share
Hans-G?nter@21000 31 cp -a $install/usr/bin $fs
Hans-G?nter@21000 32 cp -a $install/usr/share/man $fs/usr/share
paul@7100 33 }
paul@7100 34
slaxemulator@7187 35 post_remove()
slaxemulator@7187 36 {
al@18741 37 for i in grep egrep fgrep; do
al@18999 38 ln -sf busybox "$1/bin/$i"
pascal@17502 39 done
slaxemulator@7187 40 }