2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/sox
17 PKG_MD5SUM
:=6c95af60b20b9655531bf3162c0be937
19 PKG_BUILD_DEPENDS
:=libnotimpl
21 include $(INCLUDE_DIR
)/package.mk
26 DEPENDS
:=+libflac
+libid3tag
+libmad
+libvorbisidec
+libgsm
27 TITLE
:=Sox is a general purpose sound converter
/player
/recorder
28 URL
:=http
://sox.sourceforge.net
/
31 define Package
/sox
/description
32 SoX is a command line utility that can convert various formats
33 of computer audio files in to other formats. It can also apply
34 various effects to these sound files during the conversion.
35 As an added bonus
, SoX can play and record audio files on
36 several unix-style platforms.
39 define Build
/Configure
40 $(call Build
/Configure
/Default
, \
41 --disable-external-gsm \
43 LIBS
="-lnotimpl -lm" \
48 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
49 DESTDIR
="$(PKG_INSTALL_DIR)" \
50 STAGING_DIR
="$(STAGING_DIR)" \
54 define Package
/sox
/install
55 $(INSTALL_DIR
) $(1)/usr
/bin
56 $(CP
) $(PKG_BUILD_DIR
)/src
/{play
,sox
} $(1)/usr
/bin
/
59 $(eval
$(call BuildPackage
,sox
))