wok-stable annotate sed/receipt @ rev 5209

xarchive: fix double suffix case (.tar.gz)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 02 20:56:18 2010 +0200 (2010-04-02)
parents 672d4595c451
children
rev   line source
paul@3640 1 # SliTaz package receipt.
paul@3640 2
paul@3640 3 PACKAGE="sed"
paul@3640 4 VERSION="4.2.1"
paul@3640 5 CATEGORY="development"
paul@3640 6 SHORT_DESC="Gnu stream editor."
paul@3640 7 MAINTAINER="paul@slitaz.org"
paul@4368 8 DEPENDS="acl"
paul@3640 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3640 10 WEB_SITE="http://www.gnu.org/software/sed/"
paul@3640 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
paul@3640 12
paul@3640 13 # Rules to configure and make the package.
paul@3640 14 compile_rules()
paul@3640 15 {
paul@3640 16 cd $src
paul@3640 17 ./configure \
paul@3640 18 --prefix=/usr \
paul@3640 19 --infodir=/usr/share/info \
paul@3640 20 --mandir=/usr/share/man \
paul@3640 21 $CONFIGURE_ARGS &&
paul@3640 22 make && make DESTDIR=$PWD/_pkg install
paul@3640 23 }
paul@3640 24
paul@3640 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3640 26 genpkg_rules()
paul@3640 27 {
paul@3640 28 mkdir -p $fs/usr
paul@3640 29 cp -a $_pkg/usr/bin $fs/usr
paul@3640 30 }
paul@3640 31