wok-current annotate n2nc/receipt @ rev 18957

apache: add /etc/apache/ssl/httpd-ssl.conf symlink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 09 08:34:33 2016 +0100 (2016-03-09)
parents 6b9be4254023
children afae00265386
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@15000 8 LICENSE="GPL2"
pascal@12973 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12973 10 WEB_SITE="http://n2nc.sourceforge.net/"
pascal@12973 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@12973 12
pascal@12973 13 DEPENDS="zlib libcrypto gcc-lib-base"
pascal@15643 14 BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev automake autoconf libtool"
pascal@12973 15
pascal@12973 16 # Rules to configure and make the package.
pascal@12973 17 compile_rules()
pascal@12973 18 {
pascal@12973 19 mv $PACKAGE $src 2> /dev/null
pascal@12973 20 cd $src
pascal@15341 21 libtoolize --force
pascal@15341 22 aclocal
pascal@15341 23 autoheader
pascal@15341 24 automake --force-missing --add-missing
pascal@15341 25 autoconf
pascal@12973 26 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@12973 27 --localstatedir=/var \
pascal@12973 28 $CONFIGURE_ARGS &&
pascal@12973 29 make &&
pascal@12973 30 make DESTDIR=$DESTDIR install
pascal@12973 31 }
pascal@12973 32
pascal@12973 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12973 34 genpkg_rules()
pascal@12973 35 {
pascal@12973 36 mkdir -p $fs/usr
pascal@15000 37 cp -a $install/usr/bin $fs/usr
pascal@15000 38 cp -a $install/usr/lib $fs/usr
pascal@12973 39 }