wok-next annotate ldns/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | |
children | f48456621a9d |
rev | line source |
---|---|
al@20621 | 1 # SliTaz package receipt v2. |
al@20621 | 2 |
al@20621 | 3 PACKAGE="ldns" |
al@20621 | 4 VERSION="1.7.0" |
al@20621 | 5 CATEGORY="network" |
al@20621 | 6 SHORT_DESC="Fast DNS library" |
al@20621 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20621 | 8 LICENSE="BSD" |
al@20621 | 9 WEB_SITE="https://www.nlnetlabs.nl/projects/ldns/about/" |
al@20621 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/ldns.html" |
al@20621 | 11 |
al@20621 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20621 | 13 WGET_URL="http://www.nlnetlabs.nl/downloads/ldns/$TARBALL" |
al@20621 | 14 |
al@20621 | 15 BUILD_DEPENDS="openssl-dev perl" |
al@20621 | 16 SPLIT="ldns-dev" |
al@20621 | 17 |
al@20621 | 18 compile_rules() { |
al@20621 | 19 ./configure \ |
al@20621 | 20 --disable-static \ |
al@20621 | 21 --with-drill \ |
al@20621 | 22 $CONFIGURE_ARGS && |
al@20621 | 23 fix libtool && |
al@20621 | 24 make && |
al@20621 | 25 make install |
al@20621 | 26 } |
al@20621 | 27 |
al@20621 | 28 genpkg_rules() { |
al@20621 | 29 case $PACKAGE in |
al@20621 | 30 ldns) |
al@20621 | 31 copy @std |
al@20621 | 32 DEPENDS="openssl" |
al@20621 | 33 ;; |
al@20621 | 34 *-dev) |
al@20621 | 35 copy @dev |
al@20621 | 36 ;; |
al@20621 | 37 esac |
al@20621 | 38 } |