summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/logitechmediaserver/Makefile34
-rw-r--r--package/p5-dbi/Makefile33
-rw-r--r--package/p5-disgest-sha1/Makefile33
-rw-r--r--package/p5-ev/Makefile33
-rw-r--r--package/p5-ev/patches/patch-Makefile_PL74
-rw-r--r--package/p5-html-parser/Makefile33
-rw-r--r--package/p5-json-xs/Makefile33
-rw-r--r--package/p5-sub-name/Makefile33
-rw-r--r--package/p5-xml-parser-expat/Makefile35
-rw-r--r--package/p5-yaml-xs/Makefile33
10 files changed, 374 insertions, 0 deletions
diff --git a/package/logitechmediaserver/Makefile b/package/logitechmediaserver/Makefile
new file mode 100644
index 000000000..1cf0b3ee4
--- /dev/null
+++ b/package/logitechmediaserver/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= logitechmediaserver
+PKG_VERSION:= 7.8.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 8e1934d2fc16bc98ce77d3b6828be1dd
+PKG_DESCR:= popular media server
+PKG_SECTION:= mm/audio
+PKG_DEPENDS:= perl p5-xml-parser p5-dbi p5-ev p5-html-parser
+PKG_DEPENDS+= p5-json-xs p5-digest-sha1 p5-yaml-xs p5-sub-name
+PKG_DEPENDS+= p5-xml-parser-expat
+PKG_BUILDDEP:= perl
+PKG_URL:= http://wiki.slimdevices.com/index.php/Logitech_Media_Server
+PKG_SITES:= http://downloads.slimdevices.com/LogitechMediaServer_v7.8.0/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-noCPAN.tgz
+WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-noCPAN
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LOGITECHMEDIASERVER,logitechmediaserver,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+logitechmediaserver-install:
+ $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms
+ $(CP) $(WRKSRC)/* $(IDIR_LOGITECHMEDIASERVER)/opt/lms
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-dbi/Makefile b/package/p5-dbi/Makefile
new file mode 100644
index 000000000..92775a238
--- /dev/null
+++ b/package/p5-dbi/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= p5-dbi
+PKG_VERSION:= 1.631
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 444d3c305e86597e11092b517794a840
+PKG_DESCR:= database independent interface
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl
+PKG_BUILDDEP:= perl
+PKG_SITES:= http://cpan.metacpan.org/authors/id/T/TI/TIMB/
+
+DISTFILES:= DBI-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/DBI-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_DBI,p5-dbi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-dbi-install:
+ $(INSTALL_DIR) $(IDIR_P5_DBI)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_DBI)$(PERL_SITEDIR)
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-disgest-sha1/Makefile b/package/p5-disgest-sha1/Makefile
new file mode 100644
index 000000000..dd8e253c3
--- /dev/null
+++ b/package/p5-disgest-sha1/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= p5-digest-sha1
+PKG_VERSION:= 2.13
+PKG_RELEASE:= 1
+PKG_MD5SUM:= bd22388f268434f2b24f64e28bf1aa35
+PKG_DESCR:= interface to the sha-1 algorithm
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl
+PKG_BUILDDEP:= perl
+PKG_SITES:= http://cpan.metacpan.org/authors/id/G/GA/GAAS/
+
+DISTFILES:= Digest-SHA1-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/Digest-SHA1-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_DIGEST_SHA1,p5-digest-sha1,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-digest-sha1-install:
+ $(INSTALL_DIR) $(IDIR_P5_DIGEST_SHA1)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_DIGEST_SHA1)$(PERL_SITEDIR)
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-ev/Makefile b/package/p5-ev/Makefile
new file mode 100644
index 000000000..f04578ddd
--- /dev/null
+++ b/package/p5-ev/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= p5-ev
+PKG_VERSION:= 4.17
+PKG_RELEASE:= 1
+PKG_MD5SUM:= ffc39299fab4589bb850b5a46ccd2395
+PKG_DESCR:= interface to libev, a high performance full-featured event loop
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl libevent
+PKG_BUILDDEP:= perl libevent
+PKG_SITES:= http://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/
+
+DISTFILES:= EV-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/EV-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_EV,p5-ev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-ev-install:
+ $(INSTALL_DIR) $(IDIR_P5_EV)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_EV)$(PERL_SITEDIR)
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-ev/patches/patch-Makefile_PL b/package/p5-ev/patches/patch-Makefile_PL
new file mode 100644
index 000000000..040144fac
--- /dev/null
+++ b/package/p5-ev/patches/patch-Makefile_PL
@@ -0,0 +1,74 @@
+--- EV-4.17.orig/Makefile.PL 2013-08-01 04:08:54.000000000 +0200
++++ EV-4.17/Makefile.PL 2014-06-17 22:04:03.000000000 +0200
+@@ -77,7 +77,7 @@ OS, via the next question. I highly reco
+
+ EOF
+
+-if (prompt ("Enable select backend (y/n)?", "y") =~ /[yY]/) {
++if (prompt ("Enable select backend (y/n)?", "n") =~ /[yY]/) {
+ $DEFINE .= " -DEV_USE_SELECT=1";
+
+ print <<EOF;
+@@ -112,7 +112,7 @@ the default here unless you run into com
+
+ EOF
+
+-$DEFINE .= " -DEV_USE_POLL=" . (0 + (prompt ("Enable poll backend (y/n)?", (-e "/usr/include/poll.h") ? "y" : "n") =~ /[yY]/));
++$DEFINE .= " -DEV_USE_POLL=" . (0 + (prompt ("Enable poll backend (y/n)?", "n") =~ /[yY]/));
+
+ print <<EOF;
+
+@@ -131,7 +131,7 @@ EOF
+
+ my $can_epoll = -e "/usr/include/sys/epoll.h";
+ $can_epoll = $ENV{EV_EPOLL} if exists $ENV{EV_EPOLL};
+-$DEFINE .= " -DEV_USE_EPOLL=" . (0 + (prompt ("Enable epoll backend (y/n)?", $can_epoll ? "y" : "n") =~ /[yY]/));
++$DEFINE .= " -DEV_USE_EPOLL=" . (0 + (prompt ("Enable epoll backend (y/n)?", "y") =~ /[yY]/));
+
+ print <<EOF;
+
+@@ -159,7 +159,7 @@ EOF
+
+ my $can_kqueue = -e "/usr/include/sys/event.h";
+ $can_kqueue = $ENV{EV_KQUEUE} if exists $ENV{EV_KQUEUE};
+-$DEFINE .= " -DEV_USE_KQUEUE=" . (0 + (prompt ("Enable kqueue backend (y/n)?", $can_kqueue ? "y" : "n") =~ /[yY]/));
++$DEFINE .= " -DEV_USE_KQUEUE=" . (0 + (prompt ("Enable kqueue backend (y/n)?", "n") =~ /[yY]/));
+
+ print <<EOF;
+
+@@ -172,7 +172,7 @@ at runtime, with a safe fallback to othe
+
+ EOF
+
+-$DEFINE .= " -DEV_USE_PORT=" . (0 + (prompt ("Enable event port backend (y/n)?", (-e "/usr/include/sys/port.h") ? "y" : "n") =~ /[yY]/));
++$DEFINE .= " -DEV_USE_PORT=" . (0 + (prompt ("Enable event port backend (y/n)?", "n") =~ /[yY]/));
+
+ print <<EOF;
+
+@@ -210,7 +210,7 @@ EOF
+
+ my $can_inotify = -e "/usr/include/sys/inotify.h";
+ $can_inotify = $ENV{EV_INOTIFY} if exists $ENV{EV_INOTIFY};
+-$DEFINE .= " -DEV_USE_INOTIFY=" . (0 + (prompt ("Enable inotify support (y/n)?", $can_inotify ? "y" : "n") =~ /[yY]/));
++$DEFINE .= " -DEV_USE_INOTIFY=" . (0 + (prompt ("Enable inotify support (y/n)?", "y") =~ /[yY]/));
+
+ print <<EOF;
+
+@@ -227,7 +227,7 @@ EOF
+
+ my $can_eventfd = -e "/usr/include/sys/eventfd.h";
+ $can_eventfd = $ENV{EV_EVENTFD} if exists $ENV{EV_EVENTFD};
+-$DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", $can_eventfd ? "y" : "n") =~ /[yY]/));
++$DEFINE .= " -DEV_USE_EVENTFD=" . (0 + (prompt ("Enable linux eventfd support (y/n)?", "y") =~ /[yY]/));
+
+ print <<EOF;
+
+@@ -243,7 +243,7 @@ EOF
+
+ my $can_signalfd = -e "/usr/include/sys/signalfd.h";
+ $can_signalfd = $ENV{EV_SIGNALFD} if exists $ENV{EV_SIGNALFD};
+-$DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", $can_signalfd ? "y" : "n") =~ /[yY]/));
++$DEFINE .= " -DEV_USE_SIGNALFD=" . (0 + (prompt ("Enable linux signalfd support (y/n)?", "y") =~ /[yY]/));
+
+ print <<EOF;
+
diff --git a/package/p5-html-parser/Makefile b/package/p5-html-parser/Makefile
new file mode 100644
index 000000000..964a36f7a
--- /dev/null
+++ b/package/p5-html-parser/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= p5-html-parser
+PKG_VERSION:= 3.71
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 9128a45893097dfa3bf03301b19c5efe
+PKG_DESCR:= html parser class
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl
+PKG_BUILDDEP:= perl
+PKG_SITES:= http://cpan.metacpan.org/authors/id/G/GA/GAAS/
+
+DISTFILES:= HTML-Parser-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/HTML-Parser-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_HTML_PARSER,p5-html-parser,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-html-parser-install:
+ $(INSTALL_DIR) $(IDIR_P5_HTML_PARSER)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_HTML_PARSER)$(PERL_SITEDIR)
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-json-xs/Makefile b/package/p5-json-xs/Makefile
new file mode 100644
index 000000000..f1bb7318c
--- /dev/null
+++ b/package/p5-json-xs/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= p5-json-xs
+PKG_VERSION:= 3.01
+PKG_RELEASE:= 1
+PKG_MD5SUM:= b7be65295baf6dd9233c6494782c1153
+PKG_DESCR:= json serialising/deserialising, done correctly and fast
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl
+PKG_BUILDDEP:= perl
+PKG_SITES:= http://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/
+
+DISTFILES:= JSON-XS-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/JSON-XS-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_JSON_XS,p5-json-xs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-json-xs-install:
+ $(INSTALL_DIR) $(IDIR_P5_JSON_XS)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_JSON_XS)$(PERL_SITEDIR)
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-sub-name/Makefile b/package/p5-sub-name/Makefile
new file mode 100644
index 000000000..9cf4f1efd
--- /dev/null
+++ b/package/p5-sub-name/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= p5-sub-name
+PKG_VERSION:= 0.05
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 26077202597620e4a6068c8087f3e09f
+PKG_DESCR:= rename a sub
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl
+PKG_BUILDDEP:= perl
+PKG_SITES:= http://cpan.metacpan.org/authors/id/F/FL/FLORA/
+
+DISTFILES:= Sub-Name-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/Sub-Name-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_SUB_NAME,p5-sub-name,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-sub-name-install:
+ $(INSTALL_DIR) $(IDIR_P5_SUB_NAME)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_SUB_NAME)$(PERL_SITEDIR)
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-xml-parser-expat/Makefile b/package/p5-xml-parser-expat/Makefile
new file mode 100644
index 000000000..f2a11bbb1
--- /dev/null
+++ b/package/p5-xml-parser-expat/Makefile
@@ -0,0 +1,35 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= p5-xml-parser-expat
+PKG_VERSION:= 2.41
+PKG_RELEASE:= 1
+PKG_MD5SUM:= c320d2ffa459e6cdc6f9f59c1185855e
+PKG_DESCR:= lowlevel access to expat xml parser
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl libexpat
+PKG_BUILDDEP:= perl expat
+PKG_SITES:= http://cpan.metacpan.org/authors/id/T/TO/TODDR/
+
+DISTFILES:= XML-Parser-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/XML-Parser-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_XML_PARSER_EXPAT,p5-xml-parser-expat,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(TOPDIR)/mk/perl.mk
+
+PERL_ENV+= EXPATLIBPATH=${STAGING_TARGET_DIR}/usr/lib \
+ EXPATINCPATH=${STAGING_TARGET_DIR}/usr/include
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-xml-parser-expat-install:
+ $(INSTALL_DIR) $(IDIR_P5_XML_PARSER_EXPAT)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_XML_PARSER_EXPAT)$(PERL_SITEDIR)
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-yaml-xs/Makefile b/package/p5-yaml-xs/Makefile
new file mode 100644
index 000000000..20b4d17f9
--- /dev/null
+++ b/package/p5-yaml-xs/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= p5-yaml-xs
+PKG_VERSION:= 0.41
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 951ea0542ed7228ba285196e437c8d89
+PKG_DESCR:= yaml serialization using xs and libyaml
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl
+PKG_BUILDDEP:= perl
+PKG_SITES:= http://cpan.metacpan.org/authors/id/I/IN/INGY/
+
+DISTFILES:= YAML-LibYAML-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/YAML-LibYAML-${PKG_VERSION}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_YAML_XS,p5-yaml-xs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-yaml-xs-install:
+ $(INSTALL_DIR) $(IDIR_P5_YAML_XS)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_YAML_XS)$(PERL_SITEDIR)
+
+include ${TOPDIR}/mk/pkg-bottom.mk