wok view rcs/receipt @ rev 8695
improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:04:20 2011 +0100 (2011-02-17) |
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 }