wok annotate rcs/receipt @ rev 10198

Up: slang to 2.2.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 23:03:11 2011 +0000 (2011-05-20)
parents 31ad867051f9
children 600aaedb561d
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"
jozee@4972 13 TAGS="cvs version-control versioning"
pascal@2084 14
pascal@2084 15 # Rules to configure and make the package.
pascal@2084 16 compile_rules()
pascal@2084 17 {
pascal@2084 18 cd $src
pascal@4983 19 # remove busybox/diff
pascal@5794 20 [ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced
pascal@2084 21 sed -i 's,test -w a.d || cp /dev/null a.d 2>/dev/null,false,' \
pascal@2084 22 src/conf.sh
pascal@2084 23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@2084 24 make
pascal@2084 25 }
pascal@2084 26
pascal@2084 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2084 28 genpkg_rules()
pascal@2084 29 {
pascal@2084 30 mkdir -p $fs/usr/bin
pascal@2084 31 for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog; do
pascal@2084 32 install -c $src/src/$p $fs/usr/bin
pascal@2084 33 done
pascal@2084 34 }