summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/pkg-bottom.mk21
-rw-r--r--package/logitechmediaserver/Makefile22
-rw-r--r--package/p5-class-xsaccessor/Makefile33
-rw-r--r--package/p5-io-interface/Makefile33
-rw-r--r--package/p5-template-toolkit/Makefile33
5 files changed, 129 insertions, 13 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index ed892ce2c..1112f0cc3 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -84,12 +84,19 @@ else ifneq ($(filter basic,${CONFIG_STYLE}),)
${CONFIGURE_ARGS} $(MAKE_TRACE)
else ifneq ($(filter perl,${CONFIG_STYLE}),)
@$(CMD_TRACE) "configuring perl module... "
- cd ${WRKBUILD}; \
- PATH='${HOST_PATH}' \
- PERL_MM_USE_DEFAULT=1 \
- PERL_AUTOINSTALL=--skipdeps \
- $(PERL_ENV) \
- perl-host Makefile.PL ${CONFIGURE_ARGS}
+ if [ -f ${WRKBUILD}/Makefile.PL ]; then \
+ cd ${WRKBUILD}; \
+ PATH='${HOST_PATH}' \
+ PERL_MM_USE_DEFAULT=1 \
+ PERL_AUTOINSTALL=--skipdeps \
+ $(PERL_ENV) \
+ perl-host Makefile.PL ${CONFIGURE_ARGS}; \
+ else \
+ cd ${WRKBUILD}; \
+ PATH='${HOST_PATH}' \
+ $(PERL_ENV) \
+ perl-host Build.PL; \
+ fi
else ifeq ($(strip ${CONFIG_STYLE}),)
@$(CMD_TRACE) "configuring... "
cd ${WRKBUILD}; rm -f config.{cache,status}; \
@@ -114,7 +121,7 @@ else
@exit 1
endif
@${MAKE} post-configure $(MAKE_TRACE)
- touch $@
+ @touch $@
# do a parallel build if requested && package doesn't force disable it
ifeq (${ADK_MAKE_PARALLEL},y)
diff --git a/package/logitechmediaserver/Makefile b/package/logitechmediaserver/Makefile
index fe339a175..e52f6a543 100644
--- a/package/logitechmediaserver/Makefile
+++ b/package/logitechmediaserver/Makefile
@@ -4,22 +4,23 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= logitechmediaserver
-PKG_VERSION:= 7.8.0
+PKG_VERSION:= 7.9.0
PKG_RELEASE:= 1
-PKG_MD5SUM:= 8e1934d2fc16bc98ce77d3b6828be1dd
+PKG_MD5SUM:= 4e1bcfd9fc2e4aaeeb19841e638787b6
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 p5-common-sense
PKG_DEPENDS+= p5-types-serialiser p5-audio-scan p5-image-scale
-PKG_DEPENDS+= p5-dbd-sqlite p5-tie-refhash
+PKG_DEPENDS+= p5-dbd-sqlite p5-tie-refhash p5-template-toolkit
+PKG_DEPENDS+= p5-class-xsaccessor p5-io-interface
PKG_BUILDDEP:= perl
PKG_URL:= http://wiki.slimdevices.com/index.php/Logitech_Media_Server
-PKG_SITES:= http://downloads.slimdevices.com/LogitechMediaServer_v7.8.0/
+PKG_SITES:= http://downloads.slimdevices.com/nightly/7.9/sc/cbc24c9/
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-noCPAN.tgz
-WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-noCPAN
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-1418119409-noCPAN.tgz
+WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-1418119409-noCPAN
include $(ADK_TOPDIR)/mk/package.mk
@@ -29,6 +30,15 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+post-extract:
+ rm -rf ${WRKBUILD}/CPAN/Class/XSAccessor*
+ rm -rf ${WRKBUILD}/CPAN/Template*
+ rm -rf ${WRKBUILD}/CPAN/HTML*
+ rm -rf ${WRKBUILD}/CPAN/DBI/
+ rm -rf ${WRKBUILD}/CPAN/DBI.pm
+ rm -rf ${WRKBUILD}/CPAN/IO/Interface*
+ rm -rf ${WRKBUILD}/CPAN/JSON/XS.pm
+
logitechmediaserver-install:
$(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms
$(CP) $(WRKSRC)/* $(IDIR_LOGITECHMEDIASERVER)/opt/lms
diff --git a/package/p5-class-xsaccessor/Makefile b/package/p5-class-xsaccessor/Makefile
new file mode 100644
index 000000000..ff2bd39b8
--- /dev/null
+++ b/package/p5-class-xsaccessor/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 $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= p5-class-xsaccessor
+PKG_VERSION:= 1.19
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 5c5dea74f00ad37c5119dd22b28a5563
+PKG_DESCR:= generate fast xs accessors without runtime compilation
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl
+PKG_BUILDDEP:= perl
+PKG_SITES:= http://cpan.metacpan.org/authors/id/S/SM/SMUELLER/
+
+DISTFILES:= Class-XSAccessor-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/Class-XSAccessor-${PKG_VERSION}
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_CLASS_XSACCESSOR,p5-class-xsaccessor,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(ADK_TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-class-xsaccessor-install:
+ $(INSTALL_DIR) $(IDIR_P5_CLASS_XSACCESSOR)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_CLASS_XSACCESSOR)$(PERL_SITEDIR)
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-io-interface/Makefile b/package/p5-io-interface/Makefile
new file mode 100644
index 000000000..0886e4a2d
--- /dev/null
+++ b/package/p5-io-interface/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 $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= p5-io-interface
+PKG_VERSION:= 1.08
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 38c292a4d0976dd38179cfbfdca5e777
+PKG_DESCR:= extension for access to network card configuration information
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl
+PKG_BUILDDEP:= perl
+PKG_SITES:= http://cpan.metacpan.org/authors/id/L/LD/LDS/
+
+DISTFILES:= IO-Interface-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/IO-Interface-${PKG_VERSION}
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_IO_INTERFACE,p5-io-interface,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(ADK_TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-io-interface-install:
+ $(INSTALL_DIR) $(IDIR_P5_IO_INTERFACE)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_IO_INTERFACE)$(PERL_SITEDIR)
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/p5-template-toolkit/Makefile b/package/p5-template-toolkit/Makefile
new file mode 100644
index 000000000..b8a576572
--- /dev/null
+++ b/package/p5-template-toolkit/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 $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= p5-template-toolkit
+PKG_VERSION:= 2.26
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 4c289856ebee446ebbe2629b24f0734b
+PKG_DESCR:= comprehensive template processing system
+PKG_SECTION:= dev/perl
+PKG_DEPENDS:= perl
+PKG_BUILDDEP:= perl
+PKG_SITES:= http://cpan.metacpan.org/authors/id/A/AB/ABW/
+
+DISTFILES:= Template-Toolkit-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/Template-Toolkit-${PKG_VERSION}
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,P5_TEMPLATE_TOOLKIT,p5-template-toolkit,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+include $(ADK_TOPDIR)/mk/perl.mk
+
+CONFIG_STYLE:= perl
+XAKE_FLAGS+= $(PERL_ENV)
+
+p5-template-toolkit-install:
+ $(INSTALL_DIR) $(IDIR_P5_TEMPLATE_TOOLKIT)$(PERL_SITEDIR)
+ $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
+ $(IDIR_P5_TEMPLATE_TOOLKIT)$(PERL_SITEDIR)
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk