wok annotate grep/receipt @ rev 18999

grep: move from /usr/bin to /bin
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 21 11:33:21 2016 +0200 (2016-03-21)
parents c1e55905d29f
children 8563f3c36069
rev   line source
paul@7100 1 # SliTaz package receipt.
paul@7100 2
paul@7100 3 PACKAGE="grep"
slaxemulator@13083 4 VERSION="2.11"
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
paul@7100 21 }
paul@7100 22
paul@7100 23 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@7100 24 genpkg_rules()
paul@7100 25 {
al@18999 26 cp -a $install/usr/bin $fs
paul@7100 27 }
paul@7100 28
slaxemulator@7187 29 post_remove()
slaxemulator@7187 30 {
al@18741 31 for i in grep egrep fgrep; do
al@18999 32 ln -sf busybox "$1/bin/$i"
pascal@17502 33 done
slaxemulator@7187 34 }