Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.24.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7cc05f25e1d5b65da8fb3fdcd540f226
  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_SUBPKGS:= ALSA_LIB ALSA_LIB_DEV
  13. PKGSD_ALSA_LIB_DEV:= development files for ALSA
  14. PKGSC_ALSA_LIB_DEV:= devel
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,ALSA_LIB_DEV,alsa-lib-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ALSA_LIB_DEV},${PKGSC_ALSA_LIB_DEV}))
  19. CONFIGURE_ARGS+= --disable-python
  20. alsa-lib-install:
  21. ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/lib ${IDIR_ALSA_LIB}/usr/share/alsa
  22. ${CP} ${WRKINST}/usr/lib/libasound.so* ${IDIR_ALSA_LIB}/usr/lib
  23. ${CP} ${WRKINST}/usr/share/alsa/* ${IDIR_ALSA_LIB}/usr/share/alsa
  24. alsa-lib-dev-install:
  25. ${INSTALL_DIR} ${IDIR_ALSA_LIB_DEV}/usr/include/{sys,alsa}
  26. ${CP} ${WRKINST}/usr/include/sys/*.h ${IDIR_ALSA_LIB_DEV}/usr/include/sys
  27. ${CP} ${WRKINST}/usr/include/alsa/*.h ${IDIR_ALSA_LIB_DEV}/usr/include/alsa
  28. ${INSTALL_DIR} ${IDIR_ALSA_LIB_DEV}/usr/lib/pkgconfig
  29. $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc ${IDIR_ALSA_LIB_DEV}/usr/lib/pkgconfig
  30. include ${TOPDIR}/mk/pkg-bottom.mk