wok annotate grep/receipt @ rev 18924
glibc: fix build (thanks az_ua)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 25 14:47:17 2016 +0200 (2016-02-25) |
parents | 6fab3264ba87 |
children | eb9ac5642747 |
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 { |
paul@7100 | 26 mkdir -p $fs/usr |
pascal@14999 | 27 cp -a $install/usr/bin $fs/usr |
paul@7100 | 28 } |
paul@7100 | 29 |
slaxemulator@7187 | 30 post_remove() |
slaxemulator@7187 | 31 { |
al@18741 | 32 for i in grep egrep fgrep; do |
llevrel@18765 | 33 ln -sf /bin/busybox "/usr/bin/$i" |
pascal@17502 | 34 done |
slaxemulator@7187 | 35 } |