wok-next annotate n2nc/receipt @ rev 20599

More fix libtool
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 17 00:06:41 2018 +0300 (2018-04-17)
parents d43bf7aae921
children d5aab818505e
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 &&
pascal@12973 28 make DESTDIR=$DESTDIR 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 }