From: Nicolas Thill Date: Tue, 25 Oct 2011 20:53:19 +0000 (+0000) Subject: packages: add perl-net-telnet (closes: #10277) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=28085fa3c89e1eb29d39b9084d758467ea5e635e;p=openwrt%2Fsvn-archive%2Farchive.git packages: add perl-net-telnet (closes: #10277) SVN-Revision: 28587 --- diff --git a/lang/perl-net-telnet/Makefile b/lang/perl-net-telnet/Makefile new file mode 100644 index 0000000000..9b94990c87 --- /dev/null +++ b/lang/perl-net-telnet/Makefile @@ -0,0 +1,44 @@ +# +# Copyright (C) 2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=perl-net-telnet +PKG_VERSION:=3.03 +PKG_RELEASE:=1 +PKG_MD5SUM:=2f7d34b09d6117baefe89d44cff9d5fc + +PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS +PKG_SOURCE:=Net-Telnet-$(PKG_VERSION).tar.gz + +PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Net-Telnet-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../perl/perlmod.mk + +define Package/perl-net-telnet +SUBMENU:=Perl +SECTION:=lang +CATEGORY:=Languages +TITLE:=Telnet client +URL:=http://search.cpan.org/~jrogers/Net-Telnet-3.03/ +DEPENDS:=perl +endef + +define Build/Configure + $(call perlmod/Configure,,) +endef + +define Build/Compile + $(call perlmod/Compile,,) +endef + +define Package/perl-net-telnet/install + $(call perlmod/Install,$(1),Net auto/Net) +endef + +$(eval $(call BuildPackage,perl-net-telnet))