Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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:= icecast
  5. PKG_VERSION:= 2.3.3
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 1b1d06f5f83c9a983cd28cc78aa90e4038f933511b3d20d7fd2cfc116645c36d
  8. PKG_DESCR:= streaming media server
  9. PKG_SECTION:= mm/audio
  10. PKG_DEPENDS:= libcurl libvorbis libxml2 libxslt
  11. PKG_BUILDDEP:= curl libvorbis libxml2 libxslt
  12. PKG_NEEDS:= threads
  13. PKG_URL:= http://www.icecast.org/
  14. PKG_SITES:= http://downloads.us.xiph.org/releases/icecast/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,ICECAST,icecast,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. AUTOTOOL_STYLE:= autoreconf
  19. TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/libxml2
  20. CONFIGURE_ARGS+= --disable-yp \
  21. --with-curl="yes" \
  22. --with-curl-config="${STAGING_TARGET_DIR}/usr/bin/curl-config" \
  23. --with-ogg="${STAGING_TARGET_DIR}/usr" \
  24. --with-vorbis="${STAGING_TARGET_DIR}/usr" \
  25. --with-speex="no" \
  26. --with-theora="no" \
  27. --with-xslt-config="${STAGING_TARGET_DIR}/usr/bin/xslt-config"
  28. icecast-install:
  29. ${INSTALL_DIR} ${IDIR_ICECAST}/etc
  30. ${CP} ${WRKINST}/etc/icecast.xml ${IDIR_ICECAST}/etc/
  31. ${INSTALL_DIR} ${IDIR_ICECAST}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/icecast ${IDIR_ICECAST}/usr/bin/
  33. ${INSTALL_DIR} ${IDIR_ICECAST}/usr/share/icecast
  34. ${CP} ${WRKINST}/usr/share/icecast/admin \
  35. ${IDIR_ICECAST}/usr/share/icecast/
  36. ${CP} ${WRKINST}/usr/share/icecast/web \
  37. ${IDIR_ICECAST}/usr/share/icecast/
  38. include ${ADK_TOPDIR}/mk/pkg-bottom.mk