python3: allow to use libopenssl
[openadk.git] / package / icecast / Makefile
blob08f0e0a45fe51647edcb4e03d3141e1f8b1eac53
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= icecast
7 PKG_VERSION:= 2.4.4
8 PKG_RELEASE:= 1
9 PKG_HASH:= 49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44
10 PKG_DESCR:= streaming media server
11 PKG_SECTION:= mm/audio
12 PKG_DEPENDS:= libcurl libvorbis libxml2 libxslt
13 PKG_BUILDDEP:= curl libvorbis libxml2 libxslt
14 PKG_NEEDS:= threads
15 PKG_URL:= http://www.icecast.org/
16 PKG_SITES:= http://downloads.us.xiph.org/releases/icecast/
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,ICECAST,icecast,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 AUTOTOOL_STYLE:= autoreconf
25 TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/libxml2
26 TARGET_LDFLAGS+= -lxml2
27 CONFIGURE_ARGS+= --disable-yp \
28 --with-curl="yes" \
29 --with-curl-config="${STAGING_TARGET_DIR}/usr/bin/curl-config" \
30 --with-ogg="${STAGING_TARGET_DIR}/usr" \
31 --with-vorbis="${STAGING_TARGET_DIR}/usr" \
32 --with-speex="no" \
33 --with-theora="no" \
34 --with-xslt-config="${STAGING_TARGET_DIR}/usr/bin/xslt-config"
36 icecast-install:
37 ${INSTALL_DIR} ${IDIR_ICECAST}/etc
38 ${CP} ${WRKINST}/etc/icecast.xml ${IDIR_ICECAST}/etc/
39 ${INSTALL_DIR} ${IDIR_ICECAST}/usr/bin
40 ${INSTALL_BIN} ${WRKINST}/usr/bin/icecast ${IDIR_ICECAST}/usr/bin/
41 ${INSTALL_DIR} ${IDIR_ICECAST}/usr/share/icecast
42 ${CP} ${WRKINST}/usr/share/icecast/admin \
43 ${IDIR_ICECAST}/usr/share/icecast/
44 ${CP} ${WRKINST}/usr/share/icecast/web \
45 ${IDIR_ICECAST}/usr/share/icecast/
47 include ${ADK_TOPDIR}/mk/pkg-bottom.mk