wok-next diff fossil/receipt @ rev 21139

lftp: use openssl instead of gnutls
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 24 05:20:16 2019 +0200 (2019-01-24)
parents e6615350078d
children 34bf9f28c37d
line diff
     1.1 --- a/fossil/receipt	Wed Feb 28 16:28:07 2018 +0200
     1.2 +++ b/fossil/receipt	Thu Jan 24 05:20:16 2019 +0200
     1.3 @@ -1,29 +1,33 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="fossil"
     1.8 -VERSION="1.25"
     1.9 +VERSION="2.6"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="Simple, high-reliability, distributed software configuration management."
    1.12 +SHORT_DESC="Simple, high-reliability, distributed software configuration management"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="BSD"
    1.15 -TARBALL="$PACKAGE-src-20130216000435.tar.gz"
    1.16 -WEB_SITE="http://www.fossil-scm.org/"
    1.17 -WGET_URL="${WEB_SITE}download/$TARBALL"
    1.18 +WEB_SITE="http://www.fossil-scm.org/index.html/doc/trunk/www/index.wiki"
    1.19  
    1.20 -DEPENDS="openssl zlib"
    1.21 -BUILD_DEPENDS="openssl-dev zlib-dev"
    1.22 +TARBALL="fossil-src-$VERSION.tar.gz"
    1.23 +WGET_URL="http://www.fossil-scm.org/index.html/uv/$TARBALL"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cd $src
    1.29 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.30 +BUILD_DEPENDS="zlib-dev openssl-dev sqlite3-dev tcl-dev"
    1.31 +
    1.32 +compile_rules() {
    1.33 +	./configure \
    1.34 +		--prefix=/usr \
    1.35 +		--json \
    1.36 +		--disable-internal-sqlite \
    1.37 +		--with-tcl=/usr \
    1.38 +		--with-tcl-private-stubs=1 \
    1.39 +		$CONFIGURE_ARGS &&
    1.40  	make &&
    1.41 -	make DESTDIR=$DESTDIR install
    1.42 +	make install || return 1
    1.43 +
    1.44 +	cook_pick_manpages fossil.1
    1.45  }
    1.46  
    1.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.48 -genpkg_rules()
    1.49 -{
    1.50 -	cp -a $install/usr $fs/
    1.51 +genpkg_rules() {
    1.52 +	copy @std
    1.53 +	DEPENDS="openssl zlib"
    1.54  }