0
0
mirror of https://github.com/openwrt/packages.git synced 2025-09-26 10:35:19 +00:00
Files
packages/utils/whois/Makefile
Aleksey Vasilenko 31b3f9bd1f whois: update to 5.6.4
- takeover maintainership

Signed-off-by: Aleksey Vasilenko <aleksey.vasilenko@gmail.com>
2025-08-23 01:04:54 +02:00

48 lines
1.2 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=whois
PKG_VERSION:=5.6.4
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE_URL:=https://github.com/rfc1036/whois
PKG_MIRROR_HASH:=a9ab1f2de66ff852810728544c33f331273a1a4714c01239101b75728276032e
PKG_BUILD_DEPENDS:=perl/host
PKG_MAINTAINER:=Paul Spooren <mail@aparcar.org>
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=COPYING
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/whois
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Intelligent WHOIS client
URL:=https://github.com/rfc1036/whois
endef
define Package/whois/description
This client is intelligent and can automatically select the appropriate whois
server for most queries.
The internal database is often more accurate than IANA's published one, but
please send me any information you have regarding domains and network resources
which are not correctly handled by the program.
endef
EXTRA_CFLAGS+=-DHAVE_GETOPT_LONG
MAKE_FLAGS += PERL=$(STAGING_DIR_HOSTPKG)/usr/bin/perl
define Package/whois/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whois $(1)/usr/bin/whois
endef
$(eval $(call BuildPackage,whois))