wok-6.x annotate grep/receipt @ rev 14232
freetype-infinality: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 22 08:09:32 2013 +0100 (2013-03-22) |
parents | d46c7202fe2f |
children | 2b9f96603415 |
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" |
slaxemulator@11681 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
paul@7100 | 9 WEB_SITE="http://www.gnu.org/software/grep/" |
paul@7100 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
paul@7100 | 11 |
slaxemulator@11681 | 12 DEPENDS="pcre" |
slaxemulator@11681 | 13 BUILD_DEPENDS="pcre-dev" |
slaxemulator@11681 | 14 |
paul@7100 | 15 # Rules to configure and make the package. |
paul@7100 | 16 compile_rules() |
paul@7100 | 17 { |
paul@7100 | 18 cd $src |
slaxemulator@10089 | 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 |
paul@7100 | 27 cp -a $_pkg/usr/bin $fs/usr |
paul@7100 | 28 } |
paul@7100 | 29 |
slaxemulator@7187 | 30 # Pre and post install commands for Tazpkg. |
slaxemulator@7187 | 31 # We must remove all Busybox symlink before installing. |
slaxemulator@7187 | 32 # |
slaxemulator@7187 | 33 pre_install() |
slaxemulator@7187 | 34 { |
slaxemulator@7187 | 35 local root |
slaxemulator@7187 | 36 root=$1 |
slaxemulator@7187 | 37 echo "Processing pre-install commands..." |
slaxemulator@7187 | 38 echo -n "Removing all Busybox replaced utils... " |
slaxemulator@7187 | 39 rm -f $root/usr/bin/grep |
slaxemulator@7187 | 40 status |
slaxemulator@7187 | 41 } |
slaxemulator@7187 | 42 |
slaxemulator@7187 | 43 post_remove() |
slaxemulator@7187 | 44 { |
slaxemulator@9828 | 45 ln -s /bin/busybox $1/usr/bin/grep |
slaxemulator@7187 | 46 } |