wok-next view n2nc/receipt @ rev 20581
libisofs: fix installation (Busybox's mkdir can't process --version argument and so ./configure believe it don't work)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 09:33:57 2018 +0300 (2018-04-14) |
parents | e6615350078d |
children | 556349764d57 |
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
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 --localstatedir=/var \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 genpkg_rules() {
34 copy @std
35 DEPENDS="zlib openssl gcc-lib-base"
36 }