wok-6.x view n2nc/receipt @ rev 14585

drbl: fix no /usr/bin
author Richard Dunbar <mojo@slitaz.org>
date Sun May 26 12:45:28 2013 +0000 (2013-05-26)
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 }