wok-next view net6/receipt @ rev 20579
Add gnome-mime-data-dev
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 04:15:27 2018 +0300 (2018-04-14) |
parents | defb66322971 |
children | 4a67f7e79846 |
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 WEB_SITE="http://releases.0x539.de/net6/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://releases.0x539.de/net6/$TARBALL"
14 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
15 libtasn1-dev p11-kit-dev"
16 SPLIT="net6-dev"
18 compile_rules() {
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
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 genpkg_rules() {
31 case $PACKAGE in
32 net6)
33 copy @std
34 DEPENDS="gnutls libgpg-error libgcrypt libsigc++ zlib \
35 gcc-lib-base libtasn1"
36 ;;
37 net6-dev)
38 copy @dev
39 ;;
40 esac
41 }