wok-6.x annotate udns/receipt @ rev 22274
updated xorg-xf86-video-mga (1.5.0 -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 11:23:34 2019 +0100 (2019-11-13) |
parents | 2a21689b0af7 |
children | 934055de50e2 |
rev | line source |
---|---|
pascal@2131 | 1 # SliTaz package receipt. |
pascal@2131 | 2 |
pascal@2131 | 3 PACKAGE="udns" |
Hans-G?nter@22070 | 4 VERSION="0.4" |
pascal@2131 | 5 CATEGORY="network" |
Hans-G?nter@22070 | 6 TAGS="network DNS" |
Hans-G?nter@22070 | 7 SHORT_DESC="Synchronous and asynchronous DNS resolver." |
pascal@2131 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15363 | 9 LICENSE="LGPL2.1" |
Hans-G?nter@22070 | 10 WEB_SITE="https://www.corpit.ru/mjt/$PACKAGE.html" |
Hans-G?nter@22070 | 11 |
slaxemulator@8435 | 12 TARBALL="${PACKAGE}-$VERSION.tar.gz" |
Hans-G?nter@22070 | 13 WGET_URL="https://www.corpit.ru/mjt/$PACKAGE/$TARBALL" |
Hans-G?nter@22070 | 14 |
Hans-G?nter@22070 | 15 BUILD_DEPENDS="bash" |
pascal@2131 | 16 |
pascal@2131 | 17 # Rules to configure and make the package. |
pascal@2131 | 18 compile_rules() |
pascal@2131 | 19 { |
pascal@5946 | 20 # GCC 4.5 fix |
pascal@5946 | 21 sed -i 's/"$@" >/$@ >/' configure.lib |
Hans-G?nter@22070 | 22 bash ./configure && |
Hans-G?nter@22070 | 23 make staticlib sharedlib rblcheck_s dnsget_s |
pascal@2131 | 24 } |
pascal@2131 | 25 |
pascal@2131 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2131 | 27 genpkg_rules() |
pascal@2131 | 28 { |
Hans-G?nter@22070 | 29 mkdir -p $fs/usr/lib |
Hans-G?nter@22070 | 30 mkdir -p $fs/usr/bin |
Hans-G?nter@22070 | 31 |
Hans-G?nter@22070 | 32 cp -a $src/libudns.so.0 $fs/usr/lib |
Hans-G?nter@22070 | 33 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so |
Hans-G?nter@22070 | 34 cp -a $src/dnsget_s $fs/usr/bin/dnsget |
Hans-G?nter@22070 | 35 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck |
pascal@2131 | 36 } |