wok annotate rcs/receipt @ rev 4393
Add p2c
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 16 11:15:29 2009 +0200 (2009-10-16) |
parents | |
children | 8be66f03fbd2 |
rev | line source |
---|---|
pascal@2084 | 1 # SliTaz package receipt. |
pascal@2084 | 2 |
pascal@2084 | 3 PACKAGE="rcs" |
pascal@2084 | 4 VERSION="5.7" |
pascal@2084 | 5 CATEGORY="development" |
pascal@2084 | 6 SHORT_DESC="GNU Revision Control System." |
pascal@2084 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2084 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2084 | 9 DEPENDS="diffutils" |
pascal@2084 | 10 BUILD_DEPENDS="diffutils" |
pascal@2084 | 11 WEB_SITE="http://www.gnu.org/software/rcs/" |
pascal@2084 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@2084 | 13 |
pascal@2084 | 14 # Rules to configure and make the package. |
pascal@2084 | 15 compile_rules() |
pascal@2084 | 16 { |
pascal@2084 | 17 cd $src |
pascal@2084 | 18 sed -i 's,test -w a.d || cp /dev/null a.d 2>/dev/null,false,' \ |
pascal@2084 | 19 src/conf.sh |
pascal@2084 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2084 | 21 make |
pascal@2084 | 22 } |
pascal@2084 | 23 |
pascal@2084 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2084 | 25 genpkg_rules() |
pascal@2084 | 26 { |
pascal@2084 | 27 mkdir -p $fs/usr/bin |
pascal@2084 | 28 for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog; do |
pascal@2084 | 29 install -c $src/src/$p $fs/usr/bin |
pascal@2084 | 30 done |
pascal@2084 | 31 } |