wok-next view net6/receipt @ rev 20718
paulstretch: fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 15:09:21 2018 +0300 (2018-05-27) |
parents | d43bf7aae921 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://releases.0x539.de/net6/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://releases.0x539.de/net6/$TARBALL"
14 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
15 libtasn1-dev p11-kit-dev"
16 SPLIT="net6-dev"
18 compile_rules() {
19 sed -i '/int kx_prio/d;s|kx_set_priority(session, kx_prio|priority_set_direct(session, "NORMAL:+ANON-DH", NULL|' src/encrypt.cpp
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 net6)
30 copy @std
31 DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib \
32 gcc-lib-base libtasn1"
33 ;;
34 net6-dev)
35 copy @dev
36 ;;
37 esac
38 }