Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= mt-daapd
  7. PKG_VERSION:= 0.2.4
  8. PKG_RELEASE:= 10
  9. PKG_MD5SUM:= 2e1cdbe6b94ef153e915806f80a28dca
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=mt-daapd/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,MT_DAAPD,mt-daapd,${PKG_VERSION}-${PKG_RELEASE}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  15. CONFIGURE_ARGS+= --enable-mdns \
  16. --disable-howl \
  17. --with-id3tag="${STAGING_DIR}/usr" \
  18. --with-gdbm-includes="${STAGING_DIR}/usr/include" \
  19. --with-gdbm-libs="${STAGING_DIR}/usr/lib" \
  20. --without-static-libs
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_MT_DAAPD}/etc/init.d
  25. ${INSTALL_DIR} ${IDIR_MT_DAAPD}/usr/{share,sbin}
  26. ${INSTALL_DATA} ${WRKBUILD}/contrib/mt-daapd.conf ${IDIR_MT_DAAPD}/etc/
  27. ${INSTALL_DATA} ${WRKBUILD}/contrib/mt-daapd.playlist ${IDIR_MT_DAAPD}/etc/
  28. ${INSTALL_BIN} ./files/mt-daapd.init \
  29. ${IDIR_MT_DAAPD}/etc/init.d/mt-daapd
  30. ${CP} ${WRKINST}/usr/share/mt-daapd ${IDIR_MT_DAAPD}/usr/share/
  31. ${INSTALL_BIN} ${WRKINST}/usr/sbin/mt-daapd ${IDIR_MT_DAAPD}/usr/sbin/
  32. include ${TOPDIR}/mk/pkg-bottom.mk