Makefile 1.1 KB

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