summaryrefslogtreecommitdiff
path: root/package/logitechmediaserver/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-08-20 22:26:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-08-20 22:26:29 +0200
commitcb96188c1ec67650c88d6f184aa4043ae5420edf (patch)
tree8e2b5735a47a50225424f1ede8016797eea2abeb /package/logitechmediaserver/Makefile
parent9b97b1e198cc745d562996d11a2f6f5c88809ee8 (diff)
add new PKG_NEEDS variable data, fix logitechmediaserver package
Diffstat (limited to 'package/logitechmediaserver/Makefile')
-rw-r--r--package/logitechmediaserver/Makefile9
1 files changed, 6 insertions, 3 deletions
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