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