1
0

Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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
  6. PKG_RELEASE:= 10
  7. PKG_MD5SUM:= 2e1cdbe6b94ef153e915806f80a28dca
  8. PKG_DESCR:= a multi-threaded DAAP (Digital Audio Access Protocol) daemon
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libgdbm libid3tag libpthread
  11. PKG_URL:= http://www.fireflymediaserver.org
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,MT_DAAPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= gnu
  16. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  17. CONFIGURE_ARGS+= --enable-mdns \
  18. --disable-howl \
  19. --with-id3tag="${STAGING_DIR}/usr" \
  20. --with-gdbm-includes="${STAGING_DIR}/usr/include" \
  21. --with-gdbm-libs="${STAGING_DIR}/usr/lib" \
  22. --without-static-libs
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_MT_DAAPD}/etc ${IDIR_MT_DAAPD}/usr/{share,sbin}
  27. ${INSTALL_DATA} ${WRKBUILD}/contrib/mt-daapd.conf ${IDIR_MT_DAAPD}/etc/
  28. ${INSTALL_DATA} ${WRKBUILD}/contrib/mt-daapd.playlist ${IDIR_MT_DAAPD}/etc/
  29. ${CP} ${WRKINST}/usr/share/mt-daapd ${IDIR_MT_DAAPD}/usr/share/
  30. ${INSTALL_BIN} ${WRKINST}/usr/sbin/mt-daapd ${IDIR_MT_DAAPD}/usr/sbin/
  31. include ${TOPDIR}/mk/pkg-bottom.mk