Makefile 928 B

123456789101112131415161718192021222324252627282930
  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.3.6
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 2731d79bec0acef3d30d2fc86b0b72fd
  8. PKG_DESCR:= audiofile library
  9. PKG_SECTION:= libs
  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. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBAUDIOFILE,libaudiofile,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIGURE_ENV+= ac_cv_linux_vers=2
  19. TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
  20. libaudiofile-install:
  21. ${INSTALL_DIR} ${IDIR_LIBAUDIOFILE}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libaudiofile.so* ${IDIR_LIBAUDIOFILE}/usr/lib/
  23. include ${TOPDIR}/mk/pkg-bottom.mk