Makefile 999 B

123456789101112131415161718192021222324252627282930
  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. sox-install:
  17. $(INSTALL_DIR) $(IDIR_SOX)/usr/lib
  18. ${CP} ${WRKINST}/usr/lib/libsox.so* $(IDIR_SOX)/usr/lib
  19. $(INSTALL_DIR) $(IDIR_SOX)/usr/bin
  20. $(INSTALL_BIN) $(WRKINST)/usr/bin/sox $(IDIR_SOX)/usr/bin
  21. cd ${IDIR_SOX}/usr/bin; for tgt in rec play; do \
  22. ln sox $$tgt; \
  23. done
  24. include ${TOPDIR}/mk/pkg-bottom.mk