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:= audiofile
  5. PKG_VERSION:= 0.2.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a39be317a7b1971b408805dc5e371862
  8. PKG_DESCR:= audiofile library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.68k.org/~michael/audiofile/
  11. PKG_SITES:= http://www.68k.org/~michael/audiofile/
  12. PKG_SUBPKGS:= LIBAUDIOFILE LIBAUDIOFILE_DEV
  13. PKGSC_LIBAUDIOFILE_DEV:=devel
  14. PKGSD_LIBAUDIOFILE_DEV:=audiofile headers
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBAUDIOFILE,libaudiofile,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBAUDIOFILE_DEV,libaudiofile-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBAUDIOFILE_DEV},${PKGSC_LIBAUDIOFILE_DEV}))
  18. CONFIGURE_ENV+= ac_cv_linux_vers=2
  19. CONFIGURE_ARGS+= --with-build-cc=${CC_FOR_BUILD}
  20. libaudiofile-install:
  21. ${INSTALL_DIR} ${IDIR_LIBAUDIOFILE}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libaudiofile.so* ${IDIR_LIBAUDIOFILE}/usr/lib/
  23. libaudiofile-dev-install:
  24. ${INSTALL_DIR} ${IDIR_LIBAUDIOFILE_DEV}/usr/lib/pkgconfig
  25. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  26. ${IDIR_LIBAUDIOFILE_DEV}/usr/lib/pkgconfig
  27. ${INSTALL_DIR} ${IDIR_LIBAUDIOFILE_DEV}/usr/include
  28. ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBAUDIOFILE_DEV}/usr/include
  29. include ${TOPDIR}/mk/pkg-bottom.mk