Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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:= alsa-lib
  5. PKG_VERSION:= 1.0.28
  6. PKG_RELEASE:= 6
  7. PKG_HASH:= 3c074b85dde1b30e78ef4995579765833e5b693fbbd8f834c335e080cb734a6d
  8. PKG_DESCR:= sound library
  9. PKG_SECTION:= libs/audio
  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 ${ADK_TOPDIR}/mk/host.mk
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call HOST_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE}))
  17. $(eval $(call PKG_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. AUTOTOOL_STYLE:= autoreconf
  19. ifneq ($(ADK_HOST_LINUX),y)
  20. HOST_LINUX_ONLY:= 1
  21. endif
  22. TARGET_CPPFLAGS+= -D_POSIX_C_SOURCE=1
  23. HOST_STYLE:= auto
  24. CONFIGURE_ARGS+= --disable-python
  25. alsa-lib-install:
  26. ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/lib
  27. ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/share/alsa
  28. ${CP} ${WRKINST}/usr/lib/libasound.so* ${IDIR_ALSA_LIB}/usr/lib
  29. ${CP} ${WRKINST}//usr/share/alsa/* \
  30. ${IDIR_ALSA_LIB}/usr/share/alsa
  31. include ${ADK_TOPDIR}/mk/host-bottom.mk
  32. include ${ADK_TOPDIR}/mk/pkg-bottom.mk