f58a12753367f38facc8870734ccc694c404859f
[openwrt/svn-archive/archive.git] / lang / perl-uri / Makefile
1
2 include $(TOPDIR)/rules.mk
3
4 PKG_NAME:=perl-uri
5 PKG_VERSION:=1.36
6 PKG_RELEASE:=1
7 PKG_MD5SUM:=a97bbdd38b31c6b2672fdc3060fae34b
8
9 PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/G/GA/GAAS
10 PKG_SOURCE:=URI-$(PKG_VERSION).tar.gz
11 PKG_CAT:=zcat
12
13 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/URI-$(PKG_VERSION)
14
15 include $(INCLUDE_DIR)/package.mk
16 include ../perl/perlmod.mk
17
18 define Package/perl-uri
19 SUBMENU:=Perl
20 SECTION:=lang
21 CATEGORY:=Languages
22 TITLE:=Manipulates and accesses URI strings
23 URL:=http://search.cpan.org/dist/URI/
24 DEPENDS:=perl
25 endef
26
27 define Build/Configure
28 $(call perlmod/Configure,,)
29 endef
30
31 define Build/Compile
32 $(call perlmod/Compile,,)
33 endef
34
35 define Package/perl-uri/install
36 $(call perlmod/Install,$(1),URI URI.pm)
37 endef
38
39
40 $(eval $(call BuildPackage,perl-uri))