2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=perl-http-server-simple
14 PKG_SOURCE_URL
:=http
://www.cpan.org
/authors
/id
/B
/BP
/BPS
15 PKG_SOURCE
:=HTTP-Server-Simple-
$(PKG_VERSION
).
tar.gz
16 PKG_HASH
:=b9dc5c9f12c16ca39a96f0ede1e27a18a5594274ff8f583000788a7fca136dfb
18 PKG_LICENSE
:=GPL-1.0
+ Artistic-1.0
-Perl
19 PKG_MAINTAINER
:=Marcel Denia
<naoir@gmx.net
>
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl
/HTTP-Server-Simple-
$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/perl
/perlmod.mk
26 define Package
/perl-http-server-simple
30 TITLE
:=Lightweight HTTP server
31 URL
:=http
://search.cpan.org
/dist/HTTP-Server-Simple
/
32 DEPENDS
:=perl
+perl-cgi
+perlbase-base
+perlbase-essential
+perlbase-filehandle
+perlbase-socket
+perlbase-test
35 define Build
/Configure
36 $(call perlmod
/Configure
,,)
40 $(call perlmod
/Compile
,,)
43 define Package
/perl-http-server-simple
/install
44 $(call perlmod
/Install
,$(1),HTTP auto
/HTTP
)
48 $(eval
$(call BuildPackage
,perl-http-server-simple
))