wok-6.x view rcs/receipt @ rev 9320

superswitcher: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 09:52:56 2011 +0100 (2011-03-18)
parents 31ad867051f9
children 600aaedb561d
line source
1 # SliTaz package receipt.
3 PACKAGE="rcs"
4 VERSION="5.7"
5 CATEGORY="development"
6 SHORT_DESC="GNU Revision Control System."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="diffutils"
10 BUILD_DEPENDS="diffutils"
11 WEB_SITE="http://www.gnu.org/software/rcs/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="cvs version-control versioning"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # remove busybox/diff
20 [ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced
21 sed -i 's,test -w a.d || cp /dev/null a.d 2>/dev/null,false,' \
22 src/conf.sh
23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog; do
32 install -c $src/src/$p $fs/usr/bin
33 done
34 }