wok-next annotate net6/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 4a67f7e79846
children
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++)"
al@21020 7 MAINTAINER="devel@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
al@21020 14 BUILD_DEPENDS="zlib gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
al@20513 15 libtasn1-dev p11-kit-dev"
al@21020 16 SPLIT="$PACKAGE-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 &&
al@21020 24 make DESTDIR=$install 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 }