Browse Source

perl-html-parser: add HostBuild

It's required to make SpamAssassin's build system happy.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 4 years ago
committed by Daniel Golle
parent
commit
638c816d4e
1 changed files with 15 additions and 1 deletions
  1. +15
    -1
      lang/perl-html-parser/Makefile

+ 15
- 1
lang/perl-html-parser/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=perl-html-parser PKG_NAME:=perl-html-parser
PKG_VERSION:=3.72 PKG_VERSION:=3.72
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE_URL:=http://www.cpan.org/authors/id/G/GA/GAAS/ PKG_SOURCE_URL:=http://www.cpan.org/authors/id/G/GA/GAAS/
PKG_SOURCE:=HTML-Parser-$(PKG_VERSION).tar.gz PKG_SOURCE:=HTML-Parser-$(PKG_VERSION).tar.gz
@ -20,8 +20,10 @@ PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
PKG_CPE_ID:=cpe:/a:derrick_oswald:html-parser PKG_CPE_ID:=cpe:/a:derrick_oswald:html-parser
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/HTML-Parser-$(PKG_VERSION) 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)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include ../perl/perlmod.mk include ../perl/perlmod.mk
define Package/perl-html-parser define Package/perl-html-parser
@ -45,5 +47,17 @@ define Package/perl-html-parser/install
$(call perlmod/Install,$(1),HTML auto/HTML) $(call perlmod/Install,$(1),HTML auto/HTML)
endef 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 BuildPackage,perl-html-parser))
$(eval $(call HostBuild))

Loading…
Cancel
Save