wok-next annotate udns/receipt @ rev 20287

remove pure-ftpd-pam, screen-pam, screen-terminfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:26:01 2017 +0100 (2017-11-08)
parents 2a21689b0af7
children d5aab818505e
rev   line source
al@20208 1 # SliTaz package receipt v2.
pascal@2131 2
pascal@2131 3 PACKAGE="udns"
al@20208 4 VERSION="0.4"
pascal@2131 5 CATEGORY="network"
al@20208 6 SHORT_DESC="Syncronous and asyncronous DNS resolver"
pascal@2131 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15363 8 LICENSE="LGPL2.1"
al@20208 9 WEB_SITE="http://www.corpit.ru/mjt/udns.html"
pascal@2131 10
al@20208 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20208 12 WGET_URL="http://www.corpit.ru/mjt/udns/$TARBALL"
al@20208 13
al@20208 14 SPLIT="udns-dev"
al@20208 15
al@20208 16 compile_rules() {
pascal@5946 17 # GCC 4.5 fix
pascal@5946 18 sed -i 's/"$@" >/$@ >/' configure.lib
al@20208 19
al@20208 20 ./configure \
al@20208 21 --enable-ipv6 &&
al@20208 22 make staticlib sharedlib rblcheck_s dnsget_s || return 1
al@20208 23
al@20208 24 install -Dm0755 dnsget_s $install/usr/bin/dnsget
al@20208 25 install -Dm0755 rblcheck_s $install/usr/bin/rblcheck
al@20208 26 install -Dm0755 libudns.so.0 $install/usr/lib/libudns.so.0
al@20208 27 ln -s libudns.so.0 $install/usr/lib/libudns.so
al@20208 28 install -Dm0644 libudns.a $install/usr/lib/libudns.a
al@20208 29 install -Dm0644 udns.h $install/usr/include/udns.h
al@20208 30
al@20208 31 cook_pick_manpages dnsget.1 rblcheck.1 udns.3
al@20208 32 cook_pick_docs NOTES TODO NEWS
pascal@2131 33 }
pascal@2131 34
al@20208 35 genpkg_rules() {
al@20208 36 case $PACKAGE in
al@20208 37 udns)
al@20208 38 copy @std
al@20208 39 TAGS="network DNS"
al@20208 40 ;;
al@20208 41 *-dev)
al@20208 42 copy @dev
al@20208 43 ;;
al@20208 44 esac
pascal@2131 45 }