wok annotate n2nc/receipt @ rev 14892

Add: qupzilla-locales
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jul 25 18:53:19 2013 -0300 (2013-07-25)
parents
children 380ffe05937a
rev   line source
pascal@12973 1 # SliTaz package receipt.
pascal@12973 2
pascal@12973 3 PACKAGE="n2nc"
pascal@12973 4 VERSION="r_133"
pascal@12973 5 CATEGORY="network"
pascal@12973 6 SHORT_DESC="Nat 2 Nat COnnector."
pascal@12973 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@12973 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12973 9 WEB_SITE="http://n2nc.sourceforge.net/"
pascal@12973 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@12973 11
pascal@12973 12 DEPENDS="zlib libcrypto gcc-lib-base"
pascal@12973 13 BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev"
pascal@12973 14
pascal@12973 15 # Rules to configure and make the package.
pascal@12973 16 compile_rules()
pascal@12973 17 {
pascal@12973 18 mv $PACKAGE $src 2> /dev/null
pascal@12973 19 cd $src
pascal@12973 20 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@12973 21 --localstatedir=/var \
pascal@12973 22 $CONFIGURE_ARGS &&
pascal@12973 23 make &&
pascal@12973 24 make DESTDIR=$DESTDIR install
pascal@12973 25 }
pascal@12973 26
pascal@12973 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12973 28 genpkg_rules()
pascal@12973 29 {
pascal@12973 30 mkdir -p $fs/usr
pascal@12973 31 cp -a $_pkg/usr/bin $fs/usr
pascal@12973 32 cp -a $_pkg/usr/lib $fs/usr
pascal@12973 33 }