wok-current view udns/receipt @ rev 10726

libtaz: Don't need to check /usr/bin/hg anymore. Best to get the tag 1.1.2 version. May need to delete the slitaz-dev-tools-1.1.2.tar.bz2 source on tank to make sure we have the tag version.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 20:44:37 2011 +0000 (2011-05-28)
parents 550b6fb3bec5
children 2a21689b0af7
line source
1 # SliTaz package receipt.
3 PACKAGE="udns"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="Syncronous and asyncronous DNS resolver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="${PACKAGE}-$VERSION.tar.gz"
9 WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html"
10 WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
11 TAGS="network DNS"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 # GCC 4.5 fix
18 sed -i 's/"$@" >/$@ >/' configure.lib
19 bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/usr/bin
26 cp -a $src/libudns.so.0 $fs/usr/lib
27 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
28 cp -a $src/dnsget_s $fs/usr/bin/dnsget
29 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
30 }