wok-6.x annotate bind-client/receipt @ rev 14585

drbl: fix no /usr/bin
author Richard Dunbar <mojo@slitaz.org>
date Sun May 26 12:45:28 2013 +0000 (2013-05-26)
parents 641d98dacf82
children 6c3718ca17b6
rev   line source
pascal@1612 1 # SliTaz package receipt.
pascal@1612 2
pascal@1612 3 PACKAGE="bind-client"
pascal@14489 4 VERSION="9.9.2-P2"
pascal@1612 5 CATEGORY="network"
pascal@1612 6 SHORT_DESC="Domain Name System client."
pascal@1612 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1612 8 WEB_SITE="http://www.isc.org/products/BIND/"
pascal@14489 9 WANTED="bind"
pascal@14489 10
erjo@4436 11 DEPENDS="libbind libcrypto attr libpcap"
pascal@1612 12
pascal@1612 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1612 14 genpkg_rules()
pascal@1612 15 {
pascal@1612 16 mkdir -p $fs/usr
pascal@14489 17 cp -a $install/usr/bin $fs/usr
pascal@1612 18 }
pascal@1612 19
pascal@8880 20 # Overlap busybox
pascal@8880 21 pre_install()
pascal@8880 22 {
pascal@8880 23 rm -f $1/usr/bin/nslookup
pascal@8880 24 }
pascal@8880 25
pascal@8880 26 post_remove()
pascal@8880 27 {
slaxemulator@10709 28 ln -s /bin/busybox $1/usr/bin/nslookup
pascal@8880 29 }
pascal@8880 30