Makefile 933 B

1234567891011121314151617181920212223242526272829
  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:= libsamplerate
  5. PKG_VERSION:= 0.1.8
  6. PKG_RELEASE:= 3
  7. PKG_HASH:= 93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06
  8. PKG_DESCR:= sample rate converter for audio
  9. PKG_SECTION:= libs/audio
  10. PKG_URL:= http://www.mega-nerd.com/SRC/
  11. PKG_SITES:= http://www.mega-nerd.com/SRC/
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,LIBSAMPLERATE,libsamplerate,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. CONFIGURE_ARGS+= --disable-sndfile
  17. libsamplerate-install:
  18. $(INSTALL_DIR) $(IDIR_LIBSAMPLERATE)/usr/lib
  19. $(CP) $(WRKINST)/usr/lib/libsamplerate*.so* \
  20. $(IDIR_LIBSAMPLERATE)/usr/lib
  21. include ${ADK_TOPDIR}/mk/pkg-bottom.mk