wok view n2nc/receipt @ rev 15284

Up xfmpc (0.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 16:57:10 2013 +0000 (2013-09-26)
parents b994d2c0f802
children 6b9be4254023
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://n2nc.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="zlib libcrypto gcc-lib-base"
14 BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mv $PACKAGE $src 2> /dev/null
20 cd $src
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 }