summaryrefslogtreecommitdiff
path: root/package/sox/Makefile
blob: 9a41f1e9ab1cc435a91c3c8824247cb2f58d54a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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.4.1
PKG_RELEASE:=		2
PKG_MD5SUM:=		670307f40763490a2bc0d1f322071e7a
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/}

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,SOX,sox,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ARGS+=	--without-ffmpeg

sox-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