wok-current annotate whois/receipt @ rev 25727
Add miss stuff folder for libxml++, dbus-c++
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Nov 05 13:46:37 2024 +0000 (2 weeks ago) |
parents | d644f4cecfbf |
children |
rev | line source |
---|---|
slaxemulator@7454 | 1 # SliTaz package receipt. |
slaxemulator@7454 | 2 |
slaxemulator@7454 | 3 PACKAGE="whois" |
pascal@25499 | 4 VERSION="5.5.14" |
slaxemulator@7454 | 5 CATEGORY="network" |
Hans-G?nter@22128 | 6 SHORT_DESC="The whois client by Marco d'Itri." |
slaxemulator@7454 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15363 | 8 LICENSE="GPL2" |
Hans-G?nter@22128 | 9 WEB_SITE="https://www.linux.it/~md/software/" |
Hans-G?nter@22128 | 10 |
pascal@25499 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25499 | 12 WGET_URL="https://github.com/rfc1036/whois/archive/refs/tags/v$VERSION.tar.gz" |
slaxemulator@7454 | 13 |
pascal@15363 | 14 DEPENDS="libidn" |
pascal@15363 | 15 BUILD_DEPENDS="libidn-dev perl" |
pascal@15363 | 16 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - https://github.com/rfc1036/whois/tags 2>/dev/null | \ |
pascal@24304 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24304 | 22 } |
pascal@24304 | 23 |
slaxemulator@7454 | 24 # Rules to configure and make the package. |
slaxemulator@7454 | 25 compile_rules() |
slaxemulator@7454 | 26 { |
Hans-G?nter@23732 | 27 make prefix=/usr && |
Hans-G?nter@25409 | 28 make install-whois prefix=/usr BASEDIR=$DESTDIR |
slaxemulator@7454 | 29 } |
slaxemulator@7454 | 30 |
slaxemulator@7454 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7454 | 32 genpkg_rules() |
slaxemulator@7454 | 33 { |
Hans-G?nter@25409 | 34 cook_copy_folders bin |
slaxemulator@7454 | 35 } |