From b56c73c95f08099803c60d9e2f2584f231220d47 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 1 Mar 2011 19:51:32 +0100 Subject: misc patches needed for allmodconfig for ibm-x40-eglibc on Darwin OS * fix *.pc / *-config file handling. --- package/sox/Makefile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/sox/Makefile (limited to 'package/sox/Makefile') diff --git a/package/sox/Makefile b/package/sox/Makefile new file mode 100644 index 000000000..012468e24 --- /dev/null +++ b/package/sox/Makefile @@ -0,0 +1,30 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= sox +PKG_VERSION:= 14.3.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= b99871c7bbae84feac9d0d1f010331ba +PKG_DESCR:= Swiss Army knife of sound processing programs +PKG_SECTION:= multimedia +PKG_BUILDDEP:= zlib libmad lame alsa-lib libid3tag +PKG_DEPENDS:= zlib libmad liblame alsa-lib libid3tag +PKG_URL:= http://sox.sourceforge.net/ +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sox/} + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,SOX,sox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +post-install: + $(INSTALL_DIR) $(IDIR_SOX)/usr/lib + ${CP} ${WRKINST}/usr/lib/libsox.so* $(IDIR_SOX)/usr/lib + $(INSTALL_DIR) $(IDIR_SOX)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/sox $(IDIR_SOX)/usr/bin + cd ${IDIR_SOX}/usr/bin; for tgt in rec play; do \ + ln sox $$tgt; \ + done + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3