Commit | Line | Data |
---|---|---|
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 | ||
8 | name=sdl_sound | |
9 | version=1.0.3 | |
10 | release=1 | |
11 | ||
12 | source=(http://www.icculus.org/SDL_sound/downloads/SDL_sound-$version.tar.gz) | |
13 | ||
14 | build() { | |
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 | } |