Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= sound library
  9. PKG_SECTION:= libs/audio
  10. PKG_BUILDDEP:= alsa-lib-host
  11. PKG_URL:= http://www.alsa-project.org/
  12. PKG_SITES:= ftp://ftp.alsa-project.org/pub/lib/
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include ${TOPDIR}/mk/host.mk
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call HOST_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE}))
  18. $(eval $(call PKG_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. ifneq ($(ADK_HOST_LINUX),y)
  20. HOST_LINUX_ONLY:= 1
  21. endif
  22. HOST_STYLE:= auto
  23. TARGET_CPPFLAGS+= -D_POSIX_C_SOURCE=1
  24. CONFIGURE_ARGS+= --disable-python
  25. alsa-lib-install:
  26. ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/lib ${IDIR_ALSA_LIB}/usr/share/alsa
  27. ${CP} ${WRKINST}/usr/lib/libasound.so* ${IDIR_ALSA_LIB}/usr/lib
  28. ${CP} ${WRKINST}/usr/share/alsa/* ${IDIR_ALSA_LIB}/usr/share/alsa
  29. include ${TOPDIR}/mk/host-bottom.mk
  30. include ${TOPDIR}/mk/pkg-bottom.mk