wok annotate grep/receipt @ rev 7149
Up: gnome-mplayer to 1.0.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 06 18:47:28 2010 +0000 (2010-11-06) |
parents | |
children | 403cd0ae1572 |
rev | line source |
---|---|
paul@7100 | 1 # SliTaz package receipt. |
paul@7100 | 2 |
paul@7100 | 3 PACKAGE="grep" |
paul@7100 | 4 VERSION="2.7" |
paul@7100 | 5 CATEGORY="development" |
paul@7100 | 6 SHORT_DESC="GNU Global Regular Expression Print." |
paul@7100 | 7 MAINTAINER="paul@slitaz.org" |
paul@7100 | 8 DEPENDS="" |
paul@7100 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@7100 | 10 WEB_SITE="http://www.gnu.org/software/grep/" |
paul@7100 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
paul@7100 | 12 |
paul@7100 | 13 # Rules to configure and make the package. |
paul@7100 | 14 compile_rules() |
paul@7100 | 15 { |
paul@7100 | 16 cd $src |
paul@7100 | 17 ./configure \ |
paul@7100 | 18 --prefix=/usr \ |
paul@7100 | 19 --infodir=/usr/share/info \ |
paul@7100 | 20 --mandir=/usr/share/man \ |
paul@7100 | 21 $CONFIGURE_ARGS && |
paul@7100 | 22 make && make DESTDIR=$PWD/_pkg install |
paul@7100 | 23 } |
paul@7100 | 24 |
paul@7100 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7100 | 26 genpkg_rules() |
paul@7100 | 27 { |
paul@7100 | 28 mkdir -p $fs/usr |
paul@7100 | 29 cp -a $_pkg/usr/bin $fs/usr |
paul@7100 | 30 } |
paul@7100 | 31 |