Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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:= audiofile
  5. PKG_VERSION:= 0.3.6
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= cdc60df19ab08bfe55344395739bb08f50fc15c92da3962fac334d3bff116965
  8. PKG_DESCR:= audiofile library
  9. PKG_SECTION:= libs/audio
  10. PKG_URL:= http://audiofile.68k.org/
  11. PKG_BUILDDEP:= flac
  12. PKG_DEPENDS:= libflac
  13. PKG_SITES:= http://audiofile.68k.org/
  14. PKG_LIBNAME:= libaudiofile
  15. PKG_OPTS:= dev
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. include ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBAUDIOFILE,libaudiofile,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_ENV+= ac_cv_linux_vers=2
  20. TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
  21. libaudiofile-install:
  22. ${INSTALL_DIR} ${IDIR_LIBAUDIOFILE}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libaudiofile.so* ${IDIR_LIBAUDIOFILE}/usr/lib/
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk