2020-12-25 23:06:46 +01:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=perl-net-dns
|
2023-12-20 05:44:00 +01:00
|
|
|
PKG_VERSION:=1.41
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=1
|
2020-12-25 23:06:46 +01:00
|
|
|
|
|
|
|
PKG_SOURCE_NAME:=Net-DNS
|
|
|
|
PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://www.net-dns.org/download
|
2023-12-20 05:44:00 +01:00
|
|
|
PKG_HASH:=3e053cb0756a2d9c83f11e2bcf271e39a5279d8cad5645c86c6020c23f765061
|
2020-12-25 23:06:46 +01:00
|
|
|
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
|
2021-01-19 09:01:55 +01:00
|
|
|
HOST_BUILD_DEPENDS:=perl/host
|
2020-12-25 23:06:46 +01:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
include ../perl/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))
|