You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.3 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=perl-net-dns
  3. PKG_VERSION:=1.30
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE_NAME:=Net-DNS
  6. PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz
  7. PKG_SOURCE_URL:=https://www.net-dns.org/download
  8. PKG_HASH:=055e70b67255615724d91ec41788f75af317561c519971f6e6e384273b30a5da
  9. PKG_BUILD_DIR:=$(BUILD_DIR)/perl/$(PKG_SOURCE_NAME)-$(PKG_VERSION)
  10. HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/$(PKG_SOURCE_NAME)-$(PKG_VERSION)
  11. PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
  12. PKG_LICENSE:=MIT
  13. HOST_BUILD_DEPENDS:=perl/host
  14. include $(INCLUDE_DIR)/package.mk
  15. include $(INCLUDE_DIR)/host-build.mk
  16. include ../perl/perlmod.mk
  17. define Package/perl-net-dns
  18. SUBMENU:=Perl
  19. SECTION:=lang
  20. CATEGORY:=Languages
  21. TITLE:=Net::DNS DNS resolver implemented in Perl
  22. URL:=https://www.net-dns.org/
  23. DEPENDS:=perl +perlbase-essential +perlbase-io
  24. endef
  25. define Build/Configure
  26. $(call perlmod/Configure,,)
  27. endef
  28. define Build/Compile
  29. $(call perlmod/Compile,,)
  30. endef
  31. define Package/perl-net-dns/install
  32. $(call perlmod/Install,$(1),Net auto/Net)
  33. endef
  34. define Host/Configure
  35. $(call perlmod/host/Configure,,,)
  36. endef
  37. define Host/Compile
  38. $(call perlmod/host/Compile,,)
  39. endef
  40. define Host/Install
  41. $(call perlmod/host/Install,$(1),)
  42. endef
  43. $(eval $(call BuildPackage,perl-net-dns))
  44. $(eval $(call HostBuild))