1 include $(TOPDIR
)/rules.mk
5 PKG_RELEASE
:=$(AUTORELEASE
)
7 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.xz
8 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/w
/whois
9 PKG_HASH
:=cd9e7bad3b6968182bfcc311e22be3aec9a974397377d748845147884ce07547
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
12 PKG_BUILD_DEPENDS
:=perl
/host
14 PKG_MAINTAINER
:=Paul Spooren
<mail@aparcar.org
>
15 PKG_LICENSE
:=GPL-2.0
-only
16 PKG_LICENSE_FILES
:=COPYING
21 include $(INCLUDE_DIR
)/package.mk
22 include $(INCLUDE_DIR
)/nls.mk
27 TITLE
:=Intelligent WHOIS client
28 URL
:=https
://github.com
/rfc1036
/whois
31 define Package
/whois
/description
32 This client is intelligent and can automatically select the appropriate whois
33 server for most queries.
35 The internal database is often more accurate than IANA
's published one, but
36 please send me any information you have regarding domains and network resources
37 which are not correctly handled by the program.
40 EXTRA_CFLAGS+=-DHAVE_GETOPT_LONG
41 MAKE_FLAGS += PERL=$(STAGING_DIR_HOSTPKG)/usr/bin/perl
43 define Package/whois/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whois $(1)/usr/bin/whois
48 $(eval $(call BuildPackage,whois))