add dependencies
[openadk.git] / package / libao / Makefile
blob1a015e2ce9ae602283ead982c72e3d8e41f434b4
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:= libao
7 PKG_VERSION:= 1.1.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4
10 PKG_DESCR:= cross platform audio library
11 PKG_SECTION:= libs/audio
12 PKG_DEPENDS:= alsa-lib
13 PKG_BUILDDEP:= alsa-lib
14 PKG_URL:= http://www.xiph.org/ao
15 PKG_SITES:= http://downloads.xiph.org/releases/ao/
16 PKG_OPTS:= dev
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,LIBAO,libao,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
24 CONFIGURE_ARGS+= --enable-alsa \
25 --disable-esd \
26 --disable-arts \
27 --disable-nas \
28 --disable-polyp
30 libao-install:
31 ${INSTALL_DIR} ${IDIR_LIBAO}/usr/lib/ao/plugins-4
32 ${CP} ${WRKINST}/usr/lib/libao.so* ${IDIR_LIBAO}/usr/lib/
33 ${CP} ${WRKINST}/usr/lib/ao/plugins-4/*.so \
34 ${IDIR_LIBAO}/usr/lib/ao/plugins-4
36 include ${ADK_TOPDIR}/mk/pkg-bottom.mk