1
0

Makefile 976 B

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 ${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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. include ${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 ${TOPDIR}/mk/pkg-bottom.mk