perl: add Authen::SASL module
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 31 Dec 2017 22:16:05 +0000 (15:16 -0700)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Tue, 13 Feb 2018 18:35:41 +0000 (11:35 -0700)
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
lang/perl-authen-sasl/Makefile [new file with mode: 0644]

diff --git a/lang/perl-authen-sasl/Makefile b/lang/perl-authen-sasl/Makefile
new file mode 100644 (file)
index 0000000..434ec08
--- /dev/null
@@ -0,0 +1,49 @@
+#
+# Copyright (C) 2017 Philip Prindeville <philipp@redfish-solutions.com>
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=perl-authen-sasl
+PKG_VERSION:=2.16
+PKG_RELEASE:=1
+
+PKG_SOURCE_NAME:=Authen-SASL
+PKG_SOURCE_URL:=http://www.cpan.org/authors/id/G/GB/GBARR/
+PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz
+PKG_HASH:=6614fa7518f094f853741b63c73f3627168c5d3aca89b1d02b1016dc32854e09
+
+PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl
+PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/perl/$(PKG_SOURCE_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+include ../perl/perlmod.mk
+
+define Package/perl-authen-sasl
+  SUBMENU:=Perl
+  SECTION:=lang
+  CATEGORY:=Languages
+  TITLE:=Generic network authentication protocol framework.
+  URL:=http://search.cpan.org/dist/$(PKG_SOURCE_NAME)/
+  DEPENDS:=perl +perlbase-digest
+endef
+
+define Build/Configure
+       $(call perlmod/Configure,,)
+endef
+
+define Build/Compile
+       $(call perlmod/Compile,,)
+endef
+
+define Package/perl-authen-sasl/install
+       $(call perlmod/Install,$(1),Authen)
+endef
+
+
+$(eval $(call BuildPackage,perl-authen-sasl))