wok annotate nsd/receipt @ rev 17305
python-cups: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 01 10:55:48 2014 +0100 (2014-11-01) |
parents | |
children | 711632e87540 |
rev | line source |
---|---|
pascal@15958 | 1 # SliTaz package receipt. |
pascal@15958 | 2 |
pascal@15958 | 3 PACKAGE="nsd" |
pascal@15958 | 4 VERSION="4.0.1" |
pascal@15958 | 5 CATEGORY="network" |
pascal@15958 | 6 SHORT_DESC="An authoritative only, high performance, and simple name server." |
pascal@15958 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15958 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15958 | 9 LICENSE="other" |
pascal@15958 | 10 WEB_SITE="http://www.nlnetlabs.nl/projects/nsd/" |
pascal@15958 | 11 WGET_URL="http://www.nlnetlabs.nl/downloads/nsd/$TARBALL" |
pascal@15958 | 12 CONFIG_FILES="/etc/nsd" |
pascal@15958 | 13 |
pascal@15958 | 14 DEPENDS="libssl libcrypto" |
pascal@15958 | 15 BUILD_DEPENDS="libevent-dev openssl-dev" |
pascal@15958 | 16 |
pascal@15958 | 17 # Rules to configure and make the package. |
pascal@15958 | 18 compile_rules() |
pascal@15958 | 19 { |
pascal@15958 | 20 ./configure --prefix=/usr \ |
pascal@15958 | 21 --sysconfdir=/etc \ |
pascal@15958 | 22 --localstatedir=/var \ |
pascal@15958 | 23 $CONFIGURE_ARGS && |
pascal@15958 | 24 make && |
pascal@15958 | 25 make DESTDIR=$DESTDIR install |
pascal@15958 | 26 } |
pascal@15958 | 27 |
pascal@15958 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15958 | 29 genpkg_rules() |
pascal@15958 | 30 { |
pascal@15958 | 31 mkdir -p $fs/usr |
pascal@15958 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@15958 | 33 cp -a $install/var $fs |
pascal@15958 | 34 cp -a $install/etc $fs |
pascal@15958 | 35 } |