CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gstreamer: initial import (verified compilation).
[attic/ports/opt-cross.git] / sdl_sound / Pkgfile
CommitLineData
c73a3851
VM
1# Description: A library for decoding various sound formats.
2# URL: http://www.icculus.org/SDL_sound/
3# Packager: Aaron Marks, nymacro at gmail dot com
4# Maintainer: Victor Martinez, pitillo at ono dot com
5# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6# Depends on: libsdl
7
8name=sdl_sound
9version=1.0.3
10release=1
11
12source=(http://www.icculus.org/SDL_sound/downloads/SDL_sound-$version.tar.gz)
13
14build() {
15 cd SDL_sound-$version
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --with-sdl-prefix=$CLFS/usr \
20 --disable-sdltest
21
22 find -type f -name 'Makefile' \
23 -exec sed -i -e "s|/usr/include/SDL|$CLFS/usr/include/SDL|g" \
24 -e "s|/usr/lib|$CLFS/usr/lib|g" {} \;
25
26 make
27 make DESTDIR=$PKG install
28}