wok annotate sed/receipt @ rev 11313
add indent, up maintained-by
author | Liu Peng <hipeng@yahoo.com> |
---|---|
date | Wed Nov 16 11:55:27 2011 +0800 (2011-11-16) |
parents | 672d4595c451 |
children | 99f307fc1c76 |
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 |