Makefile 1011 B

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