wok-stable diff udns/receipt @ rev 2131

Add udns
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 02 20:57:49 2009 +0000 (2009-02-02)
parents
children 4c0f69a92618
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/udns/receipt	Mon Feb 02 20:57:49 2009 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="udns"
     1.7 +VERSION="0.0.9"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Syncronous and asyncronous DNS resolver."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="${PACKAGE}_$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html"
    1.13 +WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	./configure && make staticlib sharedlib rblcheck_s dnsget_s
    1.20 +}
    1.21 +
    1.22 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 +genpkg_rules()
    1.24 +{
    1.25 +	mkdir -p $fs/usr/lib $fs/usr/bin
    1.26 +	cp -a $src/libudns.so.0 $fs/usr/lib
    1.27 +	cp -a $src/dnsget_s $fs/usr/bin/dnsget
    1.28 +	cp -a $stc/rblcheck_s $fs/usr/bin/rblcheck
    1.29 +}
    1.30 +