Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= 7
  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. HOST_CONFIGURE_ARGS+= --disable-python
  25. CONFIGURE_ARGS+= --disable-python
  26. alsa-lib-install:
  27. ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/lib
  28. ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/share/alsa
  29. ${CP} ${WRKINST}/usr/lib/libasound.so* ${IDIR_ALSA_LIB}/usr/lib
  30. ${CP} ${WRKINST}//usr/share/alsa/* \
  31. ${IDIR_ALSA_LIB}/usr/share/alsa
  32. include ${ADK_TOPDIR}/mk/host-bottom.mk
  33. include ${ADK_TOPDIR}/mk/pkg-bottom.mk