82e1a48837e7d7ae9c32712d91d8e4e2bc527baa
[feed/packages.git] / lang / perl-html-parser / Makefile
1 #
2 # Copyright (C) 2014 - 2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=perl-html-parser
11 PKG_VERSION:=3.72
12 PKG_RELEASE:=2
13
14 PKG_SOURCE_URL:=http://www.cpan.org/authors/id/G/GA/GAAS/
15 PKG_SOURCE:=HTML-Parser-$(PKG_VERSION).tar.gz
16 PKG_HASH:=ec28c7e1d9e67c45eca197077f7cdc41ead1bb4c538c7f02a3296a4bb92f608b
17
18 PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
19 PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/HTML-Parser-$(PKG_VERSION)
22
23 include $(INCLUDE_DIR)/package.mk
24 include ../perl/perlmod.mk
25
26 define Package/perl-html-parser
27 SUBMENU:=Perl
28 SECTION:=lang
29 CATEGORY:=Languages
30 TITLE:=A collection of modules that parse HTML text documents
31 URL:=http://search.cpan.org/dist/HTML-Parser/
32 DEPENDS:=perl +perl-html-tagset +perlbase-essential +perlbase-xsloader
33 endef
34
35 define Build/Configure
36 $(call perlmod/Configure,,)
37 endef
38
39 define Build/Compile
40 $(call perlmod/Compile,,)
41 endef
42
43 define Package/perl-html-parser/install
44 $(call perlmod/Install,$(1),HTML auto/HTML)
45 endef
46
47
48 $(eval $(call BuildPackage,perl-html-parser))