1 include $(TOPDIR
)/rules.mk
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
:=760ab584beae76acdcc89c6aec2e91cff571185bccc2bee8e4412a3f8e70be77
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
26 TITLE
:=Intelligent WHOIS client
27 URL
:=https
://github.com
/rfc1036
/whois
30 define Package
/whois
/description
31 This client is intelligent and can automatically select the appropriate whois
32 server for most queries.
34 The internal database is often more accurate than IANA
's published one, but
35 please send me any information you have regarding domains and network resources
36 which are not correctly handled by the program.
39 EXTRA_CFLAGS+=-DHAVE_GETOPT_LONG
40 MAKE_FLAGS += PERL=$(STAGING_DIR_HOSTPKG)/usr/bin/perl
42 define Package/whois/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whois $(1)/usr/bin/whois
47 $(eval $(call BuildPackage,whois))