1
0

Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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.22
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b28a12348905fb6915bc41f0edb2ecce
  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,${PKG_NAME},${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. post-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. include ${TOPDIR}/mk/pkg-bottom.mk