PKGBUILDs/extra/sdl_mixer/PKGBUILD

24 lines
811 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
pkgname=sdl_mixer
pkgver=1.2.8
pkgrel=1
pkgdesc="A simple multi-channel audio mixer"
arch=('arm')
url="http://www.libsdl.org/projects/SDL_mixer/"
license=('LGPL' 'GPL')
#depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg')
depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod')
options=('!libtool')
source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${pkgver}.tar.gz)
md5sums=('0b5b91015d0f3bd9597e094ba67c4d65')
build() {
cd ${srcdir}/SDL_mixer-${pkgver}
sed -i 's|/usr/local/lib/timidity|/usr/lib/timidity|' timidity/config.h || return 1
sed -i 's|/etc/timidity/timidity.cfg|/etc/timidity++/timidity.cfg|' timidity/config.h || return 1
./configure --prefix=/usr --disable-smpeg
make || return 1
make DESTDIR=${pkgdir} install
}