packages: add perl-net-telnet (closes: #10277)
[openwrt/svn-archive/archive.git] / lang / perl-net-telnet / Makefile
1 #
2 # Copyright (C) 2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=perl-net-telnet
11 PKG_VERSION:=3.03
12 PKG_RELEASE:=1
13 PKG_MD5SUM:=2f7d34b09d6117baefe89d44cff9d5fc
14
15 PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS
16 PKG_SOURCE:=Net-Telnet-$(PKG_VERSION).tar.gz
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Net-Telnet-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21 include ../perl/perlmod.mk
22
23 define Package/perl-net-telnet
24 SUBMENU:=Perl
25 SECTION:=lang
26 CATEGORY:=Languages
27 TITLE:=Telnet client
28 URL:=http://search.cpan.org/~jrogers/Net-Telnet-3.03/
29 DEPENDS:=perl
30 endef
31
32 define Build/Configure
33 $(call perlmod/Configure,,)
34 endef
35
36 define Build/Compile
37 $(call perlmod/Compile,,)
38 endef
39
40 define Package/perl-net-telnet/install
41 $(call perlmod/Install,$(1),Net auto/Net)
42 endef
43
44 $(eval $(call BuildPackage,perl-net-telnet))