wok-stable annotate udns/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents 550b6fb3bec5
children
rev   line source
pascal@2131 1 # SliTaz package receipt.
pascal@2131 2
pascal@2131 3 PACKAGE="udns"
slaxemulator@8434 4 VERSION="0.1"
pascal@2131 5 CATEGORY="network"
pascal@2131 6 SHORT_DESC="Syncronous and asyncronous DNS resolver."
pascal@2131 7 MAINTAINER="pascal.bellard@slitaz.org"
slaxemulator@8435 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"
jozee@4974 11 TAGS="network DNS"
pascal@2131 12
pascal@2131 13 # Rules to configure and make the package.
pascal@2131 14 compile_rules()
pascal@2131 15 {
pascal@2131 16 cd $src
pascal@5946 17 # GCC 4.5 fix
pascal@5946 18 sed -i 's/"$@" >/$@ >/' configure.lib
pascal@5860 19 bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s
pascal@2131 20 }
pascal@2131 21
pascal@2131 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2131 23 genpkg_rules()
pascal@2131 24 {
pascal@2131 25 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@2131 26 cp -a $src/libudns.so.0 $fs/usr/lib
pascal@2138 27 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
pascal@2131 28 cp -a $src/dnsget_s $fs/usr/bin/dnsget
pascal@2138 29 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
pascal@2131 30 }
pascal@2131 31