wok diff rcs/receipt @ rev 2405

slim: improve start script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 09:25:25 2009 +0000 (2009-03-10)
parents
children 8be66f03fbd2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rcs/receipt	Tue Mar 10 09:25:25 2009 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rcs"
     1.7 +VERSION="5.7"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="GNU Revision Control System."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +DEPENDS="diffutils"
    1.13 +BUILD_DEPENDS="diffutils"
    1.14 +WEB_SITE="http://www.gnu.org/software/rcs/"
    1.15 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	sed -i 's,test -w a.d || cp /dev/null a.d 2>/dev/null,false,' \
    1.22 +		src/conf.sh
    1.23 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.24 +	make
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog; do
    1.32 +		install -c $src/src/$p $fs/usr/bin
    1.33 +	done
    1.34 +}