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.
7 # $Id: Makefile 5329 2006-10-28 22:43:08Z nico $
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/sox
17 PKG_MD5SUM
:=ba25e512a6c824d6e56d76767a18af99
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
28 DEPENDS
:=+libflac
+libid3tag
+libmad
+libvorbisidec
+libnotimpl
29 TITLE
:=Sox is a general purpose sound converter
/player
/recorder
31 SoX is a command line utility that can convert various formats
\\\
32 of computer audio files in to other formats. It can also apply
\\\
33 various effects to these sound files during the conversion.
\\\
34 As an added bonus
, SoX can play and record audio files on
\\\
35 several unix-style platforms.
36 URL
:=http
://sox.sourceforge.net
/
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 -d
-m0755
$(1)/usr
/bin
56 $(CP
) $(PKG_BUILD_DIR
)/src
/{play
,sox
,soxmix
} $(1)/usr
/bin
/
59 $(eval
$(call BuildPackage
,sox
))