wok-next annotate n2nc/receipt @ rev 21156
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 02 16:32:35 2019 +0200 (2019-02-02) |
parents | 556349764d57 |
children |
rev | line source |
---|---|
al@20513 | 1 # SliTaz package receipt v2. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="n2nc" |
pascal@12973 | 4 VERSION="r_133" |
pascal@12973 | 5 CATEGORY="network" |
al@20599 | 6 SHORT_DESC="Nat 2 Nat Connector" |
pascal@12973 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20513 | 9 WEB_SITE="http://n2nc.sourceforge.net/" |
al@20513 | 10 |
pascal@12973 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@12973 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@12973 | 13 |
pascal@15643 | 14 BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev automake autoconf libtool" |
pascal@12973 | 15 |
al@20513 | 16 compile_rules() { |
pascal@20349 | 17 sed -i 's|<< std::cerr|<< std::endl|' src/examples/rsa.cpp src/rsa.cpp |
pascal@20335 | 18 sed -i 's|fcntl.h>|&\n#include <unistd.h>|' src/nixsys.h |
pascal@15341 | 19 libtoolize --force |
pascal@15341 | 20 aclocal |
pascal@15341 | 21 autoheader |
pascal@15341 | 22 automake --force-missing --add-missing |
pascal@15341 | 23 autoconf |
al@20599 | 24 |
al@20599 | 25 ./configure $CONFIGURE_ARGS && |
al@20599 | 26 fix libtool && |
pascal@12973 | 27 make && |
al@21020 | 28 make DESTDIR=$install install |
pascal@12973 | 29 } |
pascal@12973 | 30 |
al@20513 | 31 genpkg_rules() { |
al@20513 | 32 copy @std |
al@20513 | 33 DEPENDS="zlib openssl gcc-lib-base" |
pascal@12973 | 34 } |