wok-next annotate net6/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | d43bf7aae921 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@20076 | 1 # SliTaz package receipt v2. |
pankso@2362 | 2 |
pankso@2362 | 3 PACKAGE="net6" |
pascal@11521 | 4 VERSION="1.3.14" |
pascal@2584 | 5 CATEGORY="network" |
al@20513 | 6 SHORT_DESC="Net6 library (TCP protocol abstraction for C++)" |
pankso@2362 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15068 | 8 LICENSE="LGPL2.1" |
al@20513 | 9 WEB_SITE="http://releases.0x539.de/net6/" |
al@20513 | 10 |
pankso@2362 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15068 | 12 WGET_URL="http://releases.0x539.de/net6/$TARBALL" |
pascal@15068 | 13 |
pascal@11521 | 14 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \ |
al@20513 | 15 libtasn1-dev p11-kit-dev" |
pascal@20076 | 16 SPLIT="net6-dev" |
pankso@2362 | 17 |
al@20513 | 18 compile_rules() { |
pascal@20076 | 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 |
al@20513 | 20 |
al@20601 | 21 ./configure $CONFIGURE_ARGS && |
al@20601 | 22 fix libtool && |
pankso@2362 | 23 make && |
pascal@15068 | 24 make DESTDIR=$DESTDIR install |
pankso@2362 | 25 } |
pankso@2362 | 26 |
al@20513 | 27 genpkg_rules() { |
pascal@20076 | 28 case $PACKAGE in |
al@20513 | 29 net6) |
al@20513 | 30 copy @std |
al@20513 | 31 DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib \ |
pascal@20076 | 32 gcc-lib-base libtasn1" |
al@20513 | 33 ;; |
al@20513 | 34 net6-dev) |
al@20513 | 35 copy @dev |
al@20513 | 36 ;; |
pascal@20076 | 37 esac |
pankso@2362 | 38 } |