wok-next diff net6/receipt @ rev 20579

Add gnome-mime-data-dev
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 04:15:27 2018 +0300 (2018-04-14)
parents defb66322971
children 4a67f7e79846
line diff
     1.1 --- a/net6/receipt	Wed Oct 25 09:40:19 2017 +0200
     1.2 +++ b/net6/receipt	Sat Apr 14 04:15:27 2018 +0300
     1.3 @@ -3,21 +3,21 @@
     1.4  PACKAGE="net6"
     1.5  VERSION="1.3.14"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="Net6 library (TCP protocol abstraction for C++)."
     1.8 +SHORT_DESC="Net6 library (TCP protocol abstraction for C++)"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  LICENSE="LGPL2.1"
    1.11 +WEB_SITE="http://releases.0x539.de/net6/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://releases.0x539.de/net6/"
    1.15  WGET_URL="http://releases.0x539.de/net6/$TARBALL"
    1.16  
    1.17  BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
    1.18 -libtasn1-dev pkg-config p11-kit-dev"
    1.19 +libtasn1-dev p11-kit-dev"
    1.20  SPLIT="net6-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	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.27 +
    1.28  	./configure \
    1.29  		--prefix=/usr \
    1.30  		--infodir=/usr/share/info \
    1.31 @@ -27,23 +27,15 @@
    1.32  	make DESTDIR=$DESTDIR install
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 +genpkg_rules() {
    1.39  	case $PACKAGE in
    1.40 -	net6)
    1.41 -		DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib \
    1.42 +		net6)
    1.43 +			copy @std
    1.44 +			DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib \
    1.45  			gcc-lib-base libtasn1"
    1.46 -		mkdir -p $fs/usr/lib
    1.47 -		cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.48 -		;;
    1.49 -	net6-dev)
    1.50 -		CAT="development|net6 library devel files."
    1.51 -		DEPENDS="pkg-config"
    1.52 -		mkdir -p $fs/usr/lib
    1.53 -		cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.54 -		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.55 -		cp -a $install/usr/include $fs/usr
    1.56 -		;;
    1.57 +			;;
    1.58 +		net6-dev)
    1.59 +			copy @dev
    1.60 +			;;
    1.61  	esac
    1.62  }