wok-current annotate udns/receipt @ rev 17927

xorg-base-fonts: try to fix packaging.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 11 17:49:13 2015 +0300 (2015-04-11)
parents bb584aee2ace
children 4d2f27498c4b
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"
pascal@15363 8 LICENSE="LGPL2.1"
slaxemulator@8435 9 TARBALL="${PACKAGE}-$VERSION.tar.gz"
pascal@2131 10 WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html"
pascal@2131 11 WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
jozee@4974 12 TAGS="network DNS"
pascal@2131 13
pascal@2131 14 # Rules to configure and make the package.
pascal@2131 15 compile_rules()
pascal@2131 16 {
pascal@2131 17 cd $src
pascal@5946 18 # GCC 4.5 fix
pascal@5946 19 sed -i 's/"$@" >/$@ >/' configure.lib
pascal@5860 20 bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s
pascal@2131 21 }
pascal@2131 22
pascal@2131 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2131 24 genpkg_rules()
pascal@2131 25 {
pascal@2131 26 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@2131 27 cp -a $src/libudns.so.0 $fs/usr/lib
pascal@2138 28 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
pascal@2131 29 cp -a $src/dnsget_s $fs/usr/bin/dnsget
pascal@2138 30 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
pascal@2131 31 }
pascal@2131 32