wok-current annotate rcs/receipt @ rev 2288

Samba: improve start script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 21 21:50:42 2009 +0000 (2009-02-21)
parents
children 8be66f03fbd2
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"
pascal@2084 13
pascal@2084 14 # Rules to configure and make the package.
pascal@2084 15 compile_rules()
pascal@2084 16 {
pascal@2084 17 cd $src
pascal@2084 18 sed -i 's,test -w a.d || cp /dev/null a.d 2>/dev/null,false,' \
pascal@2084 19 src/conf.sh
pascal@2084 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@2084 21 make
pascal@2084 22 }
pascal@2084 23
pascal@2084 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2084 25 genpkg_rules()
pascal@2084 26 {
pascal@2084 27 mkdir -p $fs/usr/bin
pascal@2084 28 for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog; do
pascal@2084 29 install -c $src/src/$p $fs/usr/bin
pascal@2084 30 done
pascal@2084 31 }