wok view net6/receipt @ rev 25804
created recipe for wm-switcher
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:16:07 2024 +0100 (10 days ago) |
parents | 241fb98cab1c |
children |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://releases.0x539.de/net6/"
11 WGET_URL="http://releases.0x539.de/net6/$TARBALL"
13 DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib gcc-lib-base libtasn1"
14 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
15 libtasn1-dev pkg-config p11-kit-dev libgnutls"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/gobby/net6/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # GnuTLS 3.0 update
28 sed -e 's|kx_set_priority.*|priority_set_direct(session, "NORMAL:+ANON-ECDH:+ANON-DH", NULL);|' \
29 -e '/kx_prio/d' -i src/encrypt.cpp
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }