wok-next diff net6/receipt @ rev 20325

Up libfm-qt, lxqt-l10n, lxqt-qtplugin, lxqt
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 13 03:40:49 2017 +0200 (2017-11-13)
parents 205d192370e5
children d43bf7aae921
line diff
     1.1 --- a/net6/receipt	Tue Aug 13 13:22:54 2013 +0000
     1.2 +++ b/net6/receipt	Mon Nov 13 03:40:49 2017 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="net6"
     1.8  VERSION="1.3.14"
     1.9 @@ -10,14 +10,14 @@
    1.10  WEB_SITE="http://releases.0x539.de/net6/"
    1.11  WGET_URL="http://releases.0x539.de/net6/$TARBALL"
    1.12  
    1.13 -DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib gcc-lib-base libtasn1"
    1.14  BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
    1.15  libtasn1-dev pkg-config p11-kit-dev"
    1.16 +SPLIT="net6-dev"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -	cd $src
    1.22 +	sed -i '/int kx_prio/d;s|kx_set_priority(session, kx_prio|priority_set_direct(session, "NORMAL:+ANON-DH", NULL|' src/encrypt.cpp
    1.23  	./configure \
    1.24  		--prefix=/usr \
    1.25  		--infodir=/usr/share/info \
    1.26 @@ -30,6 +30,20 @@
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30 -	mkdir -p $fs/usr/lib
    1.31 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.32 +	case $PACKAGE in
    1.33 +	net6)
    1.34 +		DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib \
    1.35 +			gcc-lib-base libtasn1"
    1.36 +		mkdir -p $fs/usr/lib
    1.37 +		cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38 +		;;
    1.39 +	net6-dev)
    1.40 +		CAT="development|net6 library devel files."
    1.41 +		DEPENDS="pkg-config"
    1.42 +		mkdir -p $fs/usr/lib
    1.43 +		cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.44 +		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.45 +		cp -a $install/usr/include $fs/usr
    1.46 +		;;
    1.47 +	esac
    1.48  }