wok-next view ldns/receipt @ rev 21094
Apply "force-arch" for selected dev packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 31 17:23:40 2018 +0200 (2018-12-31) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ldns"
4 VERSION="1.7.0"
5 CATEGORY="network"
6 SHORT_DESC="Fast DNS library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.nlnetlabs.nl/projects/ldns/about/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/ldns.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www.nlnetlabs.nl/downloads/ldns/$TARBALL"
15 COOKOPTS="force-arch" # different configs
17 BUILD_DEPENDS="openssl-dev perl"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 ./configure \
22 --disable-static \
23 --with-drill \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 ldns)
33 copy @std
34 DEPENDS="openssl"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }