wok view net6/receipt @ rev 23220

gaupol: python2 replaced by python3
author Hans-G?nter Theisgen
date Mon Mar 23 13:55:45 2020 +0100 (2020-03-23)
parents 5341074b4c44
children 241fb98cab1c
line source
1 # SliTaz package receipt.
3 PACKAGE="net6"
4 VERSION="1.3.14"
5 CATEGORY="network"
6 SHORT_DESC="Net6 library (TCP protocol abstraction for C++)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://releases.0x539.de/net6/"
11 WGET_URL="http://releases.0x539.de/net6/$TARBALL"
13 DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib gcc-lib-base libtasn1"
14 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
15 libtasn1-dev pkg-config p11-kit-dev libgnutls"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # GnuTLS 3.0 update
21 sed -e 's|kx_set_priority.*|priority_set_direct(session, "NORMAL:+ANON-ECDH:+ANON-DH", NULL);|' \
22 -e '/kx_prio/d' -i src/encrypt.cpp
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }