From 8abd2ada3f6e24c5efc9e8783642b761f14eae9f Mon Sep 17 00:00:00 2001 From: Marcel Denia Date: Sun, 28 Jun 2015 10:43:56 +0200 Subject: [PATCH] perl-http-daemon: New package Signed-off-by: Marcel Denia --- lang/perl-http-daemon/Makefile | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 lang/perl-http-daemon/Makefile diff --git a/lang/perl-http-daemon/Makefile b/lang/perl-http-daemon/Makefile new file mode 100644 index 0000000000..3fc4da818a --- /dev/null +++ b/lang/perl-http-daemon/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2015 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-http-daemon +PKG_VERSION:=6.01 +PKG_RELEASE:=1 + +PKG_SOURCE_URL:=http://www.cpan.org/authors/id/G/GA/GAAS +PKG_SOURCE:=HTTP-Daemon-$(PKG_VERSION).tar.gz +PKG_MD5SUM:=ed0ae02d25d7f1e89456d4d69732adc2 + +PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl +PKG_MAINTAINER:=Marcel Denia + +PKG_BUILD_DIR:=$(BUILD_DIR)/perl/HTTP-Daemon-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../perl/perlmod.mk + +define Package/perl-http-daemon + SUBMENU:=Perl + SECTION:=lang + CATEGORY:=Languages + TITLE:=A simple http server class + URL:=http://search.cpan.org/dist/HTTP-Daemon/ + DEPENDS:=perl +perl-http-message +perl-http-date +perl-lwp-mediatypes +endef + +define Build/Configure + $(call perlmod/Configure,,) +endef + +define Build/Compile + $(call perlmod/Compile,,) +endef + +define Package/perl-http-daemon/install + $(call perlmod/Install,$(1),HTTP auto/HTTP) +endef + + +$(eval $(call BuildPackage,perl-http-daemon))