1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 19:11:51 +00:00
openmptcprouter-feeds/whois/Makefile

47 lines
1 KiB
Makefile
Raw Normal View History

2018-07-24 15:07:14 +00:00
include $(TOPDIR)/rules.mk
PKG_NAME:=whois
2018-11-09 08:14:23 +00:00
PKG_VERSION:=5.4.0
2018-07-24 15:07:14 +00:00
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/w/whois
2018-11-09 08:14:23 +00:00
PKG_HASH:=3775ae0cfaa6dd8d886e5233c4826225cddcb88c99c2a08130d14e15fe58e378
2018-07-24 15:07:14 +00:00
PKG_CAT:=xzcat
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
define Package/whois
SECTION:=net
CATEGORY:=Network
TITLE:=WHOIS commandline utility
URL:=http://ftp.debian.org/debian/pool/main/w/whois
MAINTAINER:=Kihamo <dev@kihamo.ru>
endef
define Package/whois/description
Utility to display information from WHOIS servers
endef
define Package/whois/conffiles
/etc/whois.conf
endef
MAKE_FLAGS += \
prefix=$(PKG_BUILD_DIR)
define Package/whois/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/whois $(1)/usr/sbin
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DATA) $(PKG_BUILD_DIR)/whois.conf $(1)/etc/whois.conf
endef
$(eval $(call BuildPackage,whois))