wok-next view udns/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 | 2e60fe1db5a4 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="udns"
4 VERSION="0.4"
5 CATEGORY="network"
6 SHORT_DESC="Syncronous and asyncronous DNS resolver"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.corpit.ru/mjt/udns.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.corpit.ru/mjt/udns/$TARBALL"
14 SPLIT="$PACKAGE-dev"
16 compile_rules() {
17 # GCC 4.5 fix
18 sed -i 's/"$@" >/$@ >/' configure.lib
20 ./configure \
21 --enable-ipv6 &&
22 make staticlib sharedlib rblcheck_s dnsget_s || return 1
24 install -Dm0755 dnsget_s $install/usr/bin/dnsget
25 install -Dm0755 rblcheck_s $install/usr/bin/rblcheck
26 install -Dm0755 libudns.so.0 $install/usr/lib/libudns.so.0
27 ln -s libudns.so.0 $install/usr/lib/libudns.so
28 install -Dm0644 libudns.a $install/usr/lib/libudns.a
29 install -Dm0644 udns.h $install/usr/include/udns.h
31 cook_pick_manpages dnsget.1 rblcheck.1 udns.3
32 cook_pick_docs NOTES TODO NEWS
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 udns)
38 copy @std
39 TAGS="network DNS"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }