Makefile 892 B

1234567891011121314151617181920212223242526
  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.2.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893
  8. PKG_DESCR:= sample rate converter for audio
  9. PKG_SECTION:= libs/audio
  10. PKG_SITES:= https://github.com/libsndfile/libsamplerate/releases/download/$(PKG_VERSION)/
  11. PKG_OPTS:= dev
  12. include $(ADK_TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,LIBSAMPLERATE,libsamplerate,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  14. CONFIGURE_ARGS+= --disable-sndfile
  15. libsamplerate-install:
  16. $(INSTALL_DIR) $(IDIR_LIBSAMPLERATE)/usr/lib
  17. $(CP) $(WRKINST)/usr/lib/libsamplerate*.so* \
  18. $(IDIR_LIBSAMPLERATE)/usr/lib
  19. include ${ADK_TOPDIR}/mk/pkg-bottom.mk