1
0

Makefile 1.0 KB

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:= sox
  5. PKG_VERSION:= 14.3.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e9d35cf3b0f8878596e0b7c49f9e8302
  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. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,SOX,sox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --without-ffmpeg
  17. sox-install:
  18. $(INSTALL_DIR) $(IDIR_SOX)/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/libsox.so* $(IDIR_SOX)/usr/lib
  20. $(INSTALL_DIR) $(IDIR_SOX)/usr/bin
  21. $(INSTALL_BIN) $(WRKINST)/usr/bin/sox $(IDIR_SOX)/usr/bin
  22. cd ${IDIR_SOX}/usr/bin; for tgt in rec play; do \
  23. ln sox $$tgt; \
  24. done
  25. include ${TOPDIR}/mk/pkg-bottom.mk