# SliTaz package receipt. PACKAGE="whois" VERSION="5.5.14" CATEGORY="network" SHORT_DESC="The whois client by Marco d'Itri." MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="https://www.linux.it/~md/software/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/rfc1036/whois/archive/refs/tags/v$VERSION.tar.gz" DEPENDS="libidn" BUILD_DEPENDS="libidn-dev perl" # What is the latest version available today? current_version() { wget -O - https://github.com/rfc1036/whois/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { make prefix=/usr && make install-whois prefix=/usr BASEDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin }