Makefile 989 B

123456789101112131415161718192021222324252627282930
  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:= alsa-lib
  5. PKG_VERSION:= 1.0.27.2
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 69129a7c37697f81ac092335e9fa452b
  8. PKG_DESCR:= ALSA sound library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.alsa-project.org/
  11. PKG_SITES:= ftp://ftp.alsa-project.org/pub/lib/
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. TARGET_CPPFLAGS+= -D_POSIX_C_SOURCE=1
  17. CONFIGURE_ARGS+= --disable-python
  18. alsa-lib-install:
  19. ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/lib ${IDIR_ALSA_LIB}/usr/share/alsa
  20. ${CP} ${WRKINST}/usr/lib/libasound.so* ${IDIR_ALSA_LIB}/usr/lib
  21. ${CP} ${WRKINST}/usr/share/alsa/* ${IDIR_ALSA_LIB}/usr/share/alsa
  22. include ${TOPDIR}/mk/pkg-bottom.mk