wok-6.x annotate rcs/receipt @ rev 4983
rcs: use diffutils /usr/bin/diff
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 09:59:02 2010 +0100 (2010-02-25) |
parents | 8be66f03fbd2 |
children | 4380a8347bbf |
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@4983 | 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 } |