wok-next view udns/receipt @ rev 20155
uclibc-cross-compiler-x86_64: receipt v2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 15:25:12 2017 +0100 (2017-11-01) |
parents | bb584aee2ace |
children | 2e60fe1db5a4 |
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 LICENSE="LGPL2.1"
9 TARBALL="${PACKAGE}-$VERSION.tar.gz"
10 WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html"
11 WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
12 TAGS="network DNS"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # GCC 4.5 fix
19 sed -i 's/"$@" >/$@ >/' configure.lib
20 bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/bin
27 cp -a $src/libudns.so.0 $fs/usr/lib
28 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
29 cp -a $src/dnsget_s $fs/usr/bin/dnsget
30 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
31 }