Fix asterisk-1.4.x build.
[openwrt/svn-archive/archive.git] / lang / perl-html-parser / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=perl-html-parser
6 PKG_VERSION:=3.56
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=bddc432e5ed9df4d4153a62234f04fc2
9
10 PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/G/GA/GAAS
11 PKG_SOURCE:=HTML-Parser-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/HTML-Parser-$(PKG_VERSION)
15
16 include $(INCLUDE_DIR)/package.mk
17 include ../perl/perlmod.mk
18
19 define Package/perl-html-parser
20 SUBMENU:=Perl
21 SECTION:=lang
22 CATEGORY:=Languages
23 TITLE:=A collection of modules that parse HTML text documents
24 URL:=http://search.cpan.org/~gaas/HTML-Parser/
25 DEPENDS:=perl perl-html-tagset perl-uri
26 endef
27
28 define Build/Configure
29 $(call perlmod/Configure,,)
30 endef
31
32 define Build/Compile
33 $(call perlmod/Compile,,)
34 endef
35
36 define Package/perl-html-parser/install
37 $(call perlmod/Install,$(1),HTML auto/HTML)
38 endef
39
40
41 $(eval $(call BuildPackage,perl-html-parser))