wok-next view net6/receipt @ rev 21718
Up dropbear (2020.80)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 29 08:19:44 2020 +0000 (2020-07-29) |
parents | 4a67f7e79846 |
children |
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="devel@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="zlib gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
15 libtasn1-dev p11-kit-dev"
16 SPLIT="$PACKAGE-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=$install 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 }