wok-next diff rcs/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 600aaedb561d |
children |
line diff
1.1 --- a/rcs/receipt Mon Dec 02 19:18:04 2013 +0000 1.2 +++ b/rcs/receipt Fri Apr 27 15:12:17 2018 +0300 1.3 @@ -1,36 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="rcs" 1.8 VERSION="5.7" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="GNU Revision Control System." 1.11 +SHORT_DESC="GNU Revision Control System" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.gnu.org/software/rcs/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.gnu.org/software/rcs/" 1.18 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.19 -TAGS="cvs version-control versioning" 1.20 1.21 -DEPENDS="diffutils" 1.22 BUILD_DEPENDS="diffutils" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - cd $src 1.28 - # remove busybox/diff 1.29 - [ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced 1.30 +compile_rules() { 1.31 sed -i 's,test -w a.d || cp /dev/null a.d 2>/dev/null,false,' \ 1.32 src/conf.sh 1.33 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.34 - make 1.35 + 1.36 + ./configure $CONFIGURE_ARGS && 1.37 + make || return 1 1.38 + 1.39 + mkdir -p $install/usr/bin/ 1.40 + for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog; do 1.41 + install -c $src/src/$p $install/usr/bin/ 1.42 + done 1.43 } 1.44 1.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.46 -genpkg_rules() 1.47 -{ 1.48 - mkdir -p $fs/usr/bin 1.49 - for p in ci co ident merge rcs rcsclean rcsdiff rcsmerge rlog; do 1.50 - install -c $src/src/$p $fs/usr/bin 1.51 - done 1.52 +genpkg_rules() { 1.53 + copy @std 1.54 + DEPENDS="diffutils" 1.55 + TAGS="cvs version-control versioning" 1.56 }