Makefile 1.0 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= libao
  5. PKG_VERSION:= 1.1.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2b2508c29bc97e4dc218fa162cf883c8
  8. PKG_DESCR:= cross platform audio library
  9. PKG_SECTION:= libs
  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 ${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 ${TOPDIR}/mk/pkg-bottom.mk