Makefile 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= logitechmediaserver
  5. PKG_VERSION:= 7.9.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= f2b6dae92e76d9f21742adf74e83447e98e14f2a62ea2883208130a251fe2112
  8. PKG_DESCR:= popular media server
  9. PKG_SECTION:= mm/audio
  10. PKG_DEPENDS:= perl p5-xml-parser p5-dbi p5-ev p5-html-parser
  11. PKG_DEPENDS+= p5-json-xs p5-digest-sha1 p5-yaml-xs p5-sub-name
  12. PKG_DEPENDS+= p5-xml-parser-expat p5-common-sense
  13. PKG_DEPENDS+= p5-types-serialiser p5-audio-scan p5-image-scale
  14. PKG_DEPENDS+= p5-dbd-sqlite p5-tie-refhash p5-template-toolkit
  15. PKG_DEPENDS+= p5-class-xsaccessor p5-io-interface
  16. PKG_BUILDDEP:= perl
  17. PKG_URL:= http://wiki.slimdevices.com/index.php/Logitech_Media_Server
  18. PKG_SITES:= http://downloads.slimdevices.com/nightly/7.9/sc/1a3767f/
  19. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-1418894490-noCPAN.tgz
  20. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-1418119409-noCPAN
  21. include $(ADK_TOPDIR)/mk/package.mk
  22. $(eval $(call PKG_template,LOGITECHMEDIASERVER,logitechmediaserver,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  23. CONFIG_STYLE:= manual
  24. BUILD_STYLE:= manual
  25. INSTALL_STYLE:= manual
  26. post-extract:
  27. rm -rf ${WRKBUILD}/CPAN/Class/XSAccessor*
  28. rm -rf ${WRKBUILD}/CPAN/Template*
  29. rm -rf ${WRKBUILD}/CPAN/HTML*
  30. rm -rf ${WRKBUILD}/CPAN/DBI/
  31. rm -rf ${WRKBUILD}/CPAN/DBI.pm
  32. rm -rf ${WRKBUILD}/CPAN/IO/Interface*
  33. rm -rf ${WRKBUILD}/CPAN/JSON/XS.pm
  34. logitechmediaserver-install:
  35. $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms
  36. $(CP) $(WRKSRC)/* $(IDIR_LOGITECHMEDIASERVER)/opt/lms
  37. @find $(IDIR_LOGITECHMEDIASERVER)/opt/lms -type f -exec chmod 644 {} \;
  38. @find $(IDIR_LOGITECHMEDIASERVER)/opt/lms -type d -exec chmod 755 {} \;
  39. $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms/prefs/plugin
  40. $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms/Logs
  41. $(INSTALL_DIR) $(IDIR_LOGITECHMEDIASERVER)/opt/lms/Cache
  42. include ${ADK_TOPDIR}/mk/pkg-bottom.mk