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.

55 lines
1.3 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=perl-net-dns
  3. PKG_VERSION:=1.29
  4. PKG_RELEASE:=1
  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:=852d6ee87e8f0d014223026581cbb56924ba8cddd3ceb29c6191dbb6122d43c5
  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. include $(INCLUDE_DIR)/package.mk
  14. include $(INCLUDE_DIR)/host-build.mk
  15. include ../perl/perlmod.mk
  16. define Package/perl-net-dns
  17. SUBMENU:=Perl
  18. SECTION:=lang
  19. CATEGORY:=Languages
  20. TITLE:=Net::DNS DNS resolver implemented in Perl
  21. URL:=https://www.net-dns.org/
  22. DEPENDS:=perl +perlbase-essential +perlbase-io
  23. endef
  24. define Build/Configure
  25. $(call perlmod/Configure,,)
  26. endef
  27. define Build/Compile
  28. $(call perlmod/Compile,,)
  29. endef
  30. define Package/perl-net-dns/install
  31. $(call perlmod/Install,$(1),Net auto/Net)
  32. endef
  33. define Host/Configure
  34. $(call perlmod/host/Configure,,,)
  35. endef
  36. define Host/Compile
  37. $(call perlmod/host/Compile,,)
  38. endef
  39. define Host/Install
  40. $(call perlmod/host/Install,$(1),)
  41. endef
  42. $(eval $(call BuildPackage,perl-net-dns))
  43. $(eval $(call HostBuild))