# SliTaz package receipt. PACKAGE="udns" VERSION="0.1" CATEGORY="network" SHORT_DESC="Syncronous and asyncronous DNS resolver." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="${PACKAGE}-$VERSION.tar.gz" WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html" WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL" TAGS="network DNS" # Rules to configure and make the package. compile_rules() { cd $src # GCC 4.5 fix sed -i 's/"$@" >/$@ >/' configure.lib bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/bin cp -a $src/libudns.so.0 $fs/usr/lib ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so cp -a $src/dnsget_s $fs/usr/bin/dnsget cp -a $src/rblcheck_s $fs/usr/bin/rblcheck }