wok view udns/receipt @ rev 3299
Add: srcpd
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Fri Jun 05 13:19:08 2009 +0000 (2009-06-05) |
parents | ffe319269070 |
children | 3115c291f303 |
line source
1 # SliTaz package receipt.
3 PACKAGE="udns"
4 VERSION="0.0.9"
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure && make staticlib sharedlib rblcheck_s dnsget_s
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/lib $fs/usr/bin
23 cp -a $src/libudns.so.0 $fs/usr/lib
24 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
25 cp -a $src/dnsget_s $fs/usr/bin/dnsget
26 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
27 }