Makefile 1.5 KB

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