wok annotate rcs/receipt @ rev 20566

tcc: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 23:37:24 2018 +0100 (2018-12-12)
parents 4380a8347bbf
children 79ce2c7c3b95
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@15590 8 LICENSE="GPL2"
pascal@2084 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2084 10 WEB_SITE="http://www.gnu.org/software/rcs/"
pascal@2084 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
jozee@4972 12 TAGS="cvs version-control versioning"
pascal@2084 13
pascal@15590 14 DEPENDS="diffutils"
pascal@15590 15 BUILD_DEPENDS="diffutils"
pascal@15590 16
pascal@2084 17 # Rules to configure and make the package.
pascal@2084 18 compile_rules()
pascal@2084 19 {
pascal@2084 20 cd $src
pascal@4983 21 # remove busybox/diff
pascal@5794 22 [ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced
pascal@2084 23 sed -i 's,test -w a.d || cp /dev/null a.d 2>/dev/null,false,' \
pascal@2084 24 src/conf.sh
pascal@2084 25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@2084 26 make
pascal@2084 27 }
pascal@2084 28
pascal@2084 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2084 30 genpkg_rules()
pascal@2084 31 {
pascal@2084 32 mkdir -p $fs/usr/bin
pascal@2084 33 for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog; do
pascal@2084 34 install -c $src/src/$p $fs/usr/bin
pascal@2084 35 done
pascal@2084 36 }