2010-06-03 00:56:21 +08:00
|
|
|
#
|
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
2011-04-18 10:52:18 +08:00
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
2010-06-03 00:56:21 +08:00
|
|
|
|
|
|
|
pkgname=sox
|
2011-04-18 10:52:18 +08:00
|
|
|
pkgver=14.3.2
|
2010-06-03 00:56:21 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="The Swiss Army knife of sound processing tools"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://sox.sourceforge.net/"
|
|
|
|
license=('GPL' 'LGPL')
|
2011-04-18 10:52:18 +08:00
|
|
|
depends=('libtool' 'file' 'libsndfile' 'libpng' 'lame' 'opencore-amr')
|
|
|
|
makedepends=('ffmpeg' 'libao' 'libmad' 'libid3tag' 'wavpack')
|
|
|
|
optdepends=('libao: for ao plugin'
|
|
|
|
'ffmpeg: for ffmpeg plugin'
|
|
|
|
'libmad: for mp3 plugin'
|
|
|
|
'libid3tag: for mp3 plugin'
|
|
|
|
'wavpack: for wavpack plugin')
|
2010-06-03 00:56:21 +08:00
|
|
|
options=('!libtool')
|
|
|
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
2011-04-18 10:52:18 +08:00
|
|
|
md5sums=('e9d35cf3b0f8878596e0b7c49f9e8302')
|
2010-06-03 00:56:21 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--with-dyn-default \
|
2011-11-09 10:27:20 +08:00
|
|
|
--with-distro="Chakra-Linux"
|
|
|
|
make
|
2010-06-03 00:56:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2011-11-09 10:27:20 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-06-03 00:56:21 +08:00
|
|
|
}
|