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