wok-next annotate ldns/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children e19ff076dc63
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@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 16 SPLIT="$PACKAGE-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 }