wok-next view net6/receipt @ rev 20194

Up irrlicht (1.8.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 11:27:16 2017 +0100 (2017-11-03)
parents 205d192370e5
children d43bf7aae921
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="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 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
14 libtasn1-dev pkg-config p11-kit-dev"
15 SPLIT="net6-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 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 \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 net6)
35 DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib \
36 gcc-lib-base libtasn1"
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 ;;
40 net6-dev)
41 CAT="development|net6 library devel files."
42 DEPENDS="pkg-config"
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.*a $fs/usr/lib
45 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
46 cp -a $install/usr/include $fs/usr
47 ;;
48 esac
49 }