source: packages/lang/perl-www-mechanize/Makefile @ 21016

Last change on this file since 21016 was 21016, checked in by nico, 6 years ago

[packages] add perl-www-mechanize (closes: #7099)

File size: 1.0 KB
Line 
1#
2# Copyright (C) 2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=perl-www-mechanize
11PKG_VERSION:=1.58
12PKG_RELEASE:=1
13
14PKG_SOURCE:=WWW-Mechanize-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/
16PKG_MD5SUM:=c928d1bf3218bfe0c0d99096cf34db52
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Mechanize-$(PKG_VERSION)
19
20include $(INCLUDE_DIR)/package.mk
21include ../perl/perlmod.mk
22
23define Package/perl-www-mechanize
24  SUBMENU:=Perl
25  SECTION:=lang
26  CATEGORY:=Languages
27  TITLE:=Perl WWW Mechanize
28  URL:=http://search.cpan.org/dist/WWW-Mechanize/
29  DEPENDS:=perl +perl-www
30endef
31
32define Build/Configure
33        $(call perlmod/Configure,$(STAGING_DIR)/usr/include,)
34endef
35
36define Build/Compile
37        $(call perlmod/Compile,,)
38endef
39
40define Package/perl-www-mechanize/install
41        $(call perlmod/Install,$(1),WWW/Mechanize WWW/Mechanize.pm)
42endef
43
44$(eval $(call BuildPackage,perl-www-mechanize))
Note: See TracBrowser for help on using the repository browser.