wok-current view rcs/receipt @ rev 24418
clamtk: replaced perl-gtk2 by perl-gtk3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 09:25:31 2022 +0100 (2022-02-11) |
parents | 79ce2c7c3b95 |
children | ee19effe61eb |
line source
1 # SliTaz package receipt.
3 PACKAGE="rcs"
4 VERSION="5.9.4"
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.xz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="diffutils"
16 BUILD_DEPENDS="diffutils ed"
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 --prefix=/usr $CONFIGURE_ARGS &&
33 make
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog
41 do
42 install -c $src/src/$p $fs/usr/bin
43 done
44 }