0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-17 12:14:45 +00:00
Files
packages/lang/perl/perl-net-dns/Makefile
Josef Schlehofer e9f4aa38ef treewide: move all perl packages into its own folder
This makes it in sync with Python packages.
Python packages has its own place in /lang/python
Perl does not, so this fixes it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-07-06 16:21:08 +02:00

57 lines
1.3 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=perl-net-dns
PKG_VERSION:=1.50
PKG_RELEASE:=1
PKG_SOURCE_NAME:=Net-DNS
PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.net-dns.org/download
PKG_HASH:=c660500b9d96e5aa2b16d9f4260b6f9f05b5602d3c4bea0ca39b45bcd02ba993
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/$(PKG_SOURCE_NAME)-$(PKG_VERSION)
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/$(PKG_SOURCE_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=MIT
HOST_BUILD_DEPENDS:=perl/host
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include ../perlmod.mk
define Package/perl-net-dns
SUBMENU:=Perl
SECTION:=lang
CATEGORY:=Languages
TITLE:=Net::DNS DNS resolver implemented in Perl
URL:=https://www.net-dns.org/
DEPENDS:=perl +perlbase-essential +perlbase-io
endef
define Build/Configure
$(call perlmod/Configure,,)
endef
define Build/Compile
$(call perlmod/Compile,,)
endef
define Package/perl-net-dns/install
$(call perlmod/Install,$(1),Net auto/Net)
endef
define Host/Configure
$(call perlmod/host/Configure,,,)
endef
define Host/Compile
$(call perlmod/host/Compile,,)
endef
define Host/Install
$(call perlmod/host/Install,$(1),)
endef
$(eval $(call BuildPackage,perl-net-dns))
$(eval $(call HostBuild))