Makefile 1.6 KB

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