wok-next diff cvs/receipt @ rev 20667

qemu/qemu-light: race condition, ppp/sane-backends: set group
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 09:27:12 2018 +0200 (2018-05-11)
parents 4396aed7eb01
children d5aab818505e
line diff
     1.1 --- a/cvs/receipt	Wed Mar 07 19:43:44 2018 +0200
     1.2 +++ b/cvs/receipt	Fri May 11 09:27:12 2018 +0200
     1.3 @@ -6,38 +6,38 @@
     1.4  SHORT_DESC="Concurrent Versions System"
     1.5  MAINTAINER="erjo@slitaz.org"
     1.6  LICENSE="GPL"
     1.7 -WEB_SITE="http://ximbiot.com/cvs/"
     1.8 +WEB_SITE="http://cvs.nongnu.org/"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WGET_URL="http://ftp.gnu.org/non-gnu/cvs/source/stable/$VERSION/$TARBALL"
    1.12  
    1.13 +BUILD_DEPENDS="automake perl krb5-dev texinfo zlib-dev"
    1.14  SPLIT="cvs-contrib"
    1.15  
    1.16  compile_rules() {
    1.17 -	./configure \
    1.18 -		-C \
    1.19 -		--prefix=/usr \
    1.20 -		--with-ssh \
    1.21 -		--mandir=/usr/share/man \
    1.22 -		$CONFIGURE_ARGS &&
    1.23 +	unset EDITOR VISUAL
    1.24 +	sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
    1.25 +	find . -name Makefile.am | xargs sed -i -e 's/^INCLUDES/AM_CPPFLAGS/'
    1.26 +	AUTOMAKE='automake --add-missing' autoreconf
    1.27 +
    1.28 +	./configure &&
    1.29  	make &&
    1.30 -	make DESTDIR=$DESTDIR install
    1.31 +	make DESTDIR=$install install &&
    1.32 +
    1.33 +	rm $install/usr/share/info/dir
    1.34  }
    1.35  
    1.36  genpkg_rules() {
    1.37  	case $PACKAGE in
    1.38  		cvs)
    1.39 -			mkdir -p $fs/usr/bin
    1.40 -			cp -a $install/usr/bin/cvs* $fs/usr/bin
    1.41 -			DEPENDS="libcomerr libcomerr3 openssl libkrb5"
    1.42 +			copy cvs cvsbug
    1.43 +			DEPENDS="libkrb5 zlib"
    1.44  			TAGS="version-control versioning"
    1.45  			;;
    1.46  		cvs-contrib)
    1.47 -			mkdir -p $fs/usr/share
    1.48 -			cp -a $install/usr/share/cvs $fs/usr/share
    1.49 -			rm -f $fs/usr/share/cvs/contrib/intro.doc
    1.50 +			copy contrib/ rcs2log
    1.51 +			rm $fs/usr/share/cvs/contrib/intro.doc
    1.52  			CAT="development|contrib utilities"
    1.53 -			DEPENDS="libcomerr openssl libkrb5"
    1.54  			;;
    1.55  	esac
    1.56  }