From 638c816d4edddfad03004060ee2221c2e3f5609a Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 25 Dec 2020 22:03:12 +0000 Subject: [PATCH] perl-html-parser: add HostBuild It's required to make SpamAssassin's build system happy. Signed-off-by: Daniel Golle --- lang/perl-html-parser/Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/lang/perl-html-parser/Makefile b/lang/perl-html-parser/Makefile index b000bea72..11d2e16ec 100644 --- a/lang/perl-html-parser/Makefile +++ b/lang/perl-html-parser/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=perl-html-parser PKG_VERSION:=3.72 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=http://www.cpan.org/authors/id/G/GA/GAAS/ PKG_SOURCE:=HTML-Parser-$(PKG_VERSION).tar.gz @@ -20,8 +20,10 @@ PKG_MAINTAINER:=Marcel Denia PKG_CPE_ID:=cpe:/a:derrick_oswald:html-parser PKG_BUILD_DIR:=$(BUILD_DIR)/perl/HTML-Parser-$(PKG_VERSION) +HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/HTML-Parser-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk include ../perl/perlmod.mk define Package/perl-html-parser @@ -45,5 +47,17 @@ define Package/perl-html-parser/install $(call perlmod/Install,$(1),HTML auto/HTML) 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-html-parser)) +$(eval $(call HostBuild))