[packages] Various Makefile cleanups.
[openwrt/svn-archive/archive.git] / lang / perl-www / Makefile
1
2 include $(TOPDIR)/rules.mk
3
4 PKG_NAME:=perl-www
5 PKG_VERSION:=5.812
6 PKG_RELEASE:=1
7 PKG_MD5SUM:=86c6121170efe55fc0d33cdc967561bc
8
9 PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/G/GA/GAAS
10 PKG_SOURCE:=libwww-perl-$(PKG_VERSION).tar.gz
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/libwww-perl-$(PKG_VERSION)
13
14 include $(INCLUDE_DIR)/package.mk
15 include ../perl/perlmod.mk
16
17 define Package/perl-www
18 SUBMENU:=Perl
19 SECTION:=lang
20 CATEGORY:=Languages
21 TITLE:=WWW client/server library for Perl (aka LWP)
22 URL:=http://search.cpan.org/dist/libwww-perl/
23 DEPENDS:=perl perl-html-parser perl-uri
24 endef
25
26 define Build/Configure
27 $(call perlmod/Configure,-n,)
28 endef
29
30 define Build/Compile
31 $(call perlmod/Compile,,)
32 endef
33
34 define Package/perl-www/install
35 $(call perlmod/Install,$(1),File HTML HTTP LWP LWP.pm Net WWW)
36 endef
37
38
39 $(eval $(call BuildPackage,perl-www))