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