wok-next view n2nc/receipt @ rev 20900
gdk-pixbuf: build man pages; glib-networking: up (2.56.1); glibmm: up (2.56.0); gnupg: up (2.2.9); gsettings-desktop-schemas: up (3.28.0); tint2: up (16.4).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 21 17:03:50 2018 +0300 (2018-07-21) |
parents | d43bf7aae921 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="n2nc"
4 VERSION="r_133"
5 CATEGORY="network"
6 SHORT_DESC="Nat 2 Nat Connector"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://n2nc.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev automake autoconf libtool"
16 compile_rules() {
17 sed -i 's|<< std::cerr|<< std::endl|' src/examples/rsa.cpp src/rsa.cpp
18 sed -i 's|fcntl.h>|&\n#include <unistd.h>|' src/nixsys.h
19 libtoolize --force
20 aclocal
21 autoheader
22 automake --force-missing --add-missing
23 autoconf
25 ./configure $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="zlib openssl gcc-lib-base"
34 }