From cb96188c1ec67650c88d6f184aa4043ae5420edf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 20 Aug 2017 22:26:13 +0200 Subject: add new PKG_NEEDS variable data, fix logitechmediaserver package --- package/logitechmediaserver/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'package/logitechmediaserver/Makefile') diff --git a/package/logitechmediaserver/Makefile b/package/logitechmediaserver/Makefile index cced75621..68af0ad3a 100644 --- a/package/logitechmediaserver/Makefile +++ b/package/logitechmediaserver/Makefile @@ -10,6 +10,7 @@ PKG_RELEASE:= 1 PKG_HASH:= dfc803d31129ef55e3bbd1db34349d7ac31bbc261fcdb78246c895dcbbb4bf2d PKG_DESCR:= popular media server PKG_SECTION:= mm/audio +PKG_NEEDS:= data 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 @@ -37,16 +38,18 @@ post-extract: rm -rf ${WRKBUILD}/CPAN/HTML* rm -rf ${WRKBUILD}/CPAN/DBI/ rm -rf ${WRKBUILD}/CPAN/DBI.pm + rm -rf ${WRKBUILD}/CPAN/EV.pm rm -rf ${WRKBUILD}/CPAN/IO/Interface* rm -rf ${WRKBUILD}/CPAN/JSON/XS.pm + rm -rf ${WRKBUILD}/CPAN/Image/ logitechmediaserver-install: $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms $(CP) $(WRKSRC)/* $(IDIR_LOGITECHMEDIASERVER)/opt/lms @find $(IDIR_LOGITECHMEDIASERVER)/opt/lms -type f -exec chmod 644 {} \; @find $(IDIR_LOGITECHMEDIASERVER)/opt/lms -type d -exec chmod 755 {} \; - $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms/prefs/plugin - $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms/Logs - $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms/Cache + ln -sf ../../data/lms/prefs $(IDIR_LOGITECHMEDIASERVER)/opt/lms/prefs + ln -sf ../../data/lms/Logs $(IDIR_LOGITECHMEDIASERVER)/opt/lms/Logs + ln -sf ../../data/lms/Cache $(IDIR_LOGITECHMEDIASERVER)/opt/lms/Cache include ${ADK_TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3