wok-next view n2nc/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
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 }