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

updated tree (1.8.0 -> 2.0.2)
author Hans-G?nter Theisgen
date Fri Jul 29 15:10:59 2022 +0100 (2022-07-29)
parents 71360a13cd94
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rcs"
4 VERSION="5.10.1"
5 CATEGORY="development"
6 TAGS="cvs version-control versioning"
7 SHORT_DESC="GNU Revision Control System."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.gnu.org/software/rcs/"
12 TARBALL="$PACKAGE-$VERSION.tar.lz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="diffutils"
16 BUILD_DEPENDS="diffutils ed lzip"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # remove busybox/diff
29 # [ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced
30 # sed -i 's,test -w a.d || cp /dev/null a.d 2>/dev/null,false,' \
31 # src/conf.sh
32 ./configure \
33 --prefix=/usr \
34 $CONFIGURE_ARGS &&
35 make
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog
43 do
44 install -c $src/src/$p $fs/usr/bin
45 done
46 }