Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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:= sox
  5. PKG_VERSION:= 14.4.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 670307f40763490a2bc0d1f322071e7a
  8. PKG_DESCR:= swiss army knife of sound processing programs
  9. PKG_SECTION:= multimedia
  10. PKG_BUILDDEP:= zlib libmad lame alsa-lib libid3tag
  11. PKG_DEPENDS:= zlib libmad liblame alsa-lib libid3tag
  12. PKG_URL:= http://sox.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sox/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,SOX,sox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --without-ffmpeg
  18. sox-install:
  19. $(INSTALL_DIR) $(IDIR_SOX)/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libsox.so* $(IDIR_SOX)/usr/lib
  21. $(INSTALL_DIR) $(IDIR_SOX)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/sox $(IDIR_SOX)/usr/bin
  23. cd ${IDIR_SOX}/usr/bin; for tgt in rec play; do \
  24. ln sox $$tgt; \
  25. done
  26. include ${TOPDIR}/mk/pkg-bottom.mk