wok-6.x annotate grep/receipt @ rev 23050
Up claws-mail (3.17.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 15:13:42 2020 +0100 (2020-03-06) |
parents | bd7c9b9d8a98 |
children | 71360a13cd94 |
rev | line source |
---|---|
paul@7100 | 1 # SliTaz package receipt. |
paul@7100 | 2 |
paul@7100 | 3 PACKAGE="grep" |
Hans-G?nter@22880 | 4 VERSION="3.4" |
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@22880 | 31 |
Hans-G?nter@21000 | 32 cp -a $install/usr/bin $fs |
Hans-G?nter@21000 | 33 cp -a $install/usr/share/man $fs/usr/share |
paul@7100 | 34 } |
paul@7100 | 35 |
slaxemulator@7187 | 36 post_remove() |
slaxemulator@7187 | 37 { |
Hans-G?nter@22880 | 38 for i in grep egrep fgrep |
Hans-G?nter@22880 | 39 do |
al@18999 | 40 ln -sf busybox "$1/bin/$i" |
Hans-G?nter@22880 | 41 done |
slaxemulator@7187 | 42 } |