1
0

Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.2
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= curl libvorbis libxml2 libxslt
  8. PKG_MD5SUM:= ff516b3ccd2bcc31e68f460cd316093f
  9. PKG_DESCR:= A streaming media server
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libcurl libvorbis libpthread libxml2 libxslt
  12. PKG_URL:= http://www.icecast.org/
  13. PKG_SITES:= http://downloads.us.xiph.org/releases/icecast/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,ICECAST,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TCPPFLAGS+= -I${STAGING_DIR}/usr/include/libxml2
  17. CONFIGURE_STYLE= autotool gnu
  18. CONFIGURE_ARGS+= --disable-yp \
  19. --with-curl="yes" \
  20. --with-curl-config="${STAGING_DIR}/usr/bin/curl-config" \
  21. --with-ogg="${STAGING_DIR}/usr" \
  22. --with-vorbis="${STAGING_DIR}/usr" \
  23. --with-speex="no" \
  24. --with-theora="no" \
  25. --with-xslt-config="${STAGING_DIR}/usr/bin/xslt-config"
  26. BUILD_STYLE= auto
  27. INSTALL_STYLE= auto
  28. post-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 ${IDIR_ICECAST}/usr/share/icecast/
  35. ${CP} ${WRKINST}/usr/share/icecast/web ${IDIR_ICECAST}/usr/share/icecast/
  36. include ${TOPDIR}/mk/pkg-bottom.mk