diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-24 08:36:14 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-24 08:36:33 +0200 |
commit | ca7285d21f49410b8ec5eb511d288630a4c9dec4 (patch) | |
tree | 1a074466e7794536b3b639a5518ab4d25e2387fb | |
parent | 997cf3b5924ab5d01ba602b1994709b6b53ce51a (diff) |
add more perl modules needed for lms
-rw-r--r-- | mk/pkg-bottom.mk | 2 | ||||
-rw-r--r-- | package/logitechmediaserver/Makefile | 3 | ||||
-rw-r--r-- | package/p5-audio-scan/Makefile | 33 | ||||
-rw-r--r-- | package/p5-dbd-sqlite/Makefile | 33 | ||||
-rw-r--r-- | package/p5-image-scale/Makefile | 36 |
5 files changed, 105 insertions, 2 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk index d92a3bb4c..55bdde563 100644 --- a/mk/pkg-bottom.mk +++ b/mk/pkg-bottom.mk @@ -70,7 +70,7 @@ else ifneq ($(filter perl,${CONFIG_STYLE}),) PERL_MM_USE_DEFAULT=1 \ PERL_AUTOINSTALL=--skipdeps \ $(PERL_ENV) \ - perl Makefile.PL + perl Makefile.PL ${CONFIGURE_ARGS} else ifeq ($(strip ${CONFIG_STYLE}),) @$(CMD_TRACE) "configuring... " cd ${WRKBUILD}; rm -f config.{cache,status}; \ diff --git a/package/logitechmediaserver/Makefile b/package/logitechmediaserver/Makefile index 2695764e9..02382ca00 100644 --- a/package/logitechmediaserver/Makefile +++ b/package/logitechmediaserver/Makefile @@ -12,7 +12,8 @@ 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-time-hires p5-common-sense -PKG_DEPENDS+= p5-types-serialiser +PKG_DEPENDS+= p5-types-serialiser p5-audio-scan p5-image-scale +PKG_DEPENDS+= p5-dbd-sqlite PKG_BUILDDEP:= perl PKG_URL:= http://wiki.slimdevices.com/index.php/Logitech_Media_Server PKG_SITES:= http://downloads.slimdevices.com/LogitechMediaServer_v7.8.0/ diff --git a/package/p5-audio-scan/Makefile b/package/p5-audio-scan/Makefile new file mode 100644 index 000000000..346dd5681 --- /dev/null +++ b/package/p5-audio-scan/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-audio-scan +PKG_VERSION:= 0.93 +PKG_RELEASE:= 1 +PKG_MD5SUM:= afcdbf8641e1a572a387fe097e3897ee +PKG_DESCR:= metadata and tag reader for all common audio file formats +PKG_SECTION:= dev/perl +PKG_DEPENDS:= perl zlib +PKG_BUILDDEP:= perl zlib +PKG_SITES:= http://cpan.metacpan.org/authors/id/A/AG/AGRUNDMA/ + +DISTFILES:= Audio-Scan-${PKG_VERSION}.tar.gz +WRKDIST= ${WRKDIR}/Audio-Scan-${PKG_VERSION} + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,P5_AUDIO_SCAN,p5-audio-scan,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +include $(ADK_TOPDIR)/mk/perl.mk + +CONFIG_STYLE:= perl +XAKE_FLAGS+= $(PERL_ENV) + +p5-audio-scan-install: + $(INSTALL_DIR) $(IDIR_P5_AUDIO_SCAN)$(PERL_SITEDIR) + $(CP) $(WRKINST)$(PERL_SITEDIR)/* \ + $(IDIR_P5_AUDIO_SCAN)$(PERL_SITEDIR) + +include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/p5-dbd-sqlite/Makefile b/package/p5-dbd-sqlite/Makefile new file mode 100644 index 000000000..1be5008c6 --- /dev/null +++ b/package/p5-dbd-sqlite/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-dbd-sqlite +PKG_VERSION:= 1.42 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 86cfaf477cb9ddc39508f74f4268fc79 +PKG_DESCR:= self-contained rdbms in a dbi driver +PKG_SECTION:= dev/perl +PKG_DEPENDS:= perl +PKG_BUILDDEP:= perl +PKG_SITES:= http://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/ + +DISTFILES:= DBD-SQLite-${PKG_VERSION}.tar.gz +WRKDIST= ${WRKDIR}/DBD-SQLite-${PKG_VERSION} + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,P5_DBD_SQLITE,p5-dbd-sqlite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +include $(ADK_TOPDIR)/mk/perl.mk + +CONFIG_STYLE:= perl +XAKE_FLAGS+= $(PERL_ENV) + +p5-dbd-sqlite-install: + $(INSTALL_DIR) $(IDIR_P5_DBD_SQLITE)$(PERL_SITEDIR) + $(CP) $(WRKINST)$(PERL_SITEDIR)/* \ + $(IDIR_P5_DBD_SQLITE)$(PERL_SITEDIR) + +include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/p5-image-scale/Makefile b/package/p5-image-scale/Makefile new file mode 100644 index 000000000..c21edb1a3 --- /dev/null +++ b/package/p5-image-scale/Makefile @@ -0,0 +1,36 @@ +# 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-image-scale +PKG_VERSION:= 0.08 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 60d6b1d78e229682c3565ee12a171cb4 +PKG_DESCR:= fast, high-quality fixed-point image resizing +PKG_SECTION:= dev/perl +PKG_DEPENDS:= perl libjpeg-turbo zlib libpng giflib +PKG_BUILDDEP:= perl libjpeg-turbo zlib libpng giflib +PKG_SITES:= http://cpan.metacpan.org/authors/id/A/AG/AGRUNDMA/ + +DISTFILES:= Image-Scale-${PKG_VERSION}.tar.gz +WRKDIST= ${WRKDIR}/Image-Scale-${PKG_VERSION} + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,P5_IMAGE_SCALE,p5-image-scale,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +include $(ADK_TOPDIR)/mk/perl.mk + +CONFIG_STYLE:= perl +XAKE_FLAGS+= $(PERL_ENV) +CONFIGURE_ARGS+= --with-jpeg-includes=${STAGING_TARGET_DIR}/usr/include \ + --with-png-includes=${STAGING_TARGET_DIR}/usr/include \ + --with-gif-includes=${STAGING_TARGET_DIR}/usr/include + +p5-image-scale-install: + $(INSTALL_DIR) $(IDIR_P5_IMAGE_SCALE)$(PERL_SITEDIR) + $(CP) $(WRKINST)$(PERL_SITEDIR)/* \ + $(IDIR_P5_IMAGE_SCALE)$(PERL_SITEDIR) + +include ${ADK_TOPDIR}/mk/pkg-bottom.mk |