wok-next view n2nc/receipt @ rev 13440
Up: claws-mail-vcalendar (2.0.13)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 07 01:22:16 2012 +0200 (2012-10-07) |
parents | |
children | 380ffe05937a |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://n2nc.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="zlib libcrypto gcc-lib-base"
13 BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $PACKAGE $src 2> /dev/null
19 cd $src
20 ./configure --prefix=/usr --mandir=/usr/share/man \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 }