wok-next view n2nc/receipt @ rev 21708

updated gsasl (0.2.29 -> 1.8.1)
author Hans-G?nter Theisgen
date Mon Jul 06 15:47:38 2020 +0100 (2020-07-06)
parents 556349764d57
children
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=$install install
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="zlib openssl gcc-lib-base"
34 }