Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= mt-daapd
  5. PKG_VERSION:= 0.2.4.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 8117141e8a88bfab54fe98b6bbd5cb3a
  8. PKG_DESCR:= a multi-threaded DAAP daemon
  9. PKG_SECTION:= multimedia
  10. PKG_DEPENDS:= libgdbm libid3tag libpthread
  11. PKG_BUILDDEP+= gdbm libid3tag
  12. PKG_URL:= http://www.fireflymediaserver.org
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,MT_DAAPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. # uClibc setpgrp does not take arguments
  17. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  18. CONFIGURE_ARGS+= --enable-mdns \
  19. --disable-howl \
  20. --with-id3tag="${STAGING_DIR}/usr" \
  21. --with-gdbm-includes="${STAGING_DIR}/usr/include" \
  22. --with-gdbm-libs="${STAGING_DIR}/usr/lib" \
  23. --without-static-libs
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_MT_DAAPD}/etc ${IDIR_MT_DAAPD}/usr/{share,sbin}
  26. ${INSTALL_DATA} ${WRKBUILD}/contrib/mt-daapd.conf \
  27. ${IDIR_MT_DAAPD}/etc/
  28. ${INSTALL_DATA} ${WRKBUILD}/contrib/mt-daapd.playlist \
  29. ${IDIR_MT_DAAPD}/etc/
  30. ${CP} ${WRKINST}/usr/share/mt-daapd ${IDIR_MT_DAAPD}/usr/share/
  31. ${INSTALL_BIN} ${WRKINST}/usr/sbin/mt-daapd \
  32. ${IDIR_MT_DAAPD}/usr/sbin/
  33. include ${TOPDIR}/mk/pkg-bottom.mk