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