wok annotate udns/receipt @ rev 2956
Up: curlftpfs (0.9.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 08 21:56:01 2009 +0200 (2009-05-08) |
parents | ffe319269070 |
children | 3115c291f303 |
rev | line source |
---|---|
pascal@2131 | 1 # SliTaz package receipt. |
pascal@2131 | 2 |
pascal@2131 | 3 PACKAGE="udns" |
pascal@2131 | 4 VERSION="0.0.9" |
pascal@2131 | 5 CATEGORY="network" |
pascal@2131 | 6 SHORT_DESC="Syncronous and asyncronous DNS resolver." |
pascal@2131 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2131 | 8 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
pascal@2131 | 9 WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html" |
pascal@2131 | 10 WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL" |
pascal@2131 | 11 |
pascal@2131 | 12 # Rules to configure and make the package. |
pascal@2131 | 13 compile_rules() |
pascal@2131 | 14 { |
pascal@2131 | 15 cd $src |
pascal@2131 | 16 ./configure && make staticlib sharedlib rblcheck_s dnsget_s |
pascal@2131 | 17 } |
pascal@2131 | 18 |
pascal@2131 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2131 | 20 genpkg_rules() |
pascal@2131 | 21 { |
pascal@2131 | 22 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@2131 | 23 cp -a $src/libudns.so.0 $fs/usr/lib |
pascal@2138 | 24 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so |
pascal@2131 | 25 cp -a $src/dnsget_s $fs/usr/bin/dnsget |
pascal@2138 | 26 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck |
pascal@2131 | 27 } |
pascal@2131 | 28 |