### this file is sourced not run
PKGVER=1.2.12
PKGBUILD=1
PKGARCH=i686

# source: james
TARBALL=SDL_mixer-1.2.12.tar.gz
MD5SUM=e03ff73d77a55e3572ad0217131dc4a1
SRC_URL=http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL
BUNDLE=

SLACKREQ='libSDL32'
SLACKDESC='libSDL-mixer32: libSDL-mixer32 1.2.12 (SDL sound mixer library)  
libSDL-mixer32:  
libSDL-mixer32: SDL_mixer is a sound mixing library that is used with the SDL 
libSDL-mixer32: library, and almost as portable. It allows a programmer to use 
libSDL-mixer32: multiple samples along with music without having to code a 
libSDL-mixer32: mixing algorithm themselves. It also simplyfies the handling of 
libSDL-mixer32: loading and playing samples and music from all sorts of file 
libSDL-mixer32: formats.  
libSDL-mixer32: 
libSDL-mixer32: 
libSDL-mixer32:
'
SLACKSUG='libpng32 libtiff32 libjpeg-turbo32'

### default pkg_download
### default pkg_prepare

### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	cd /tmp/SDL*
	CONFFLAGS="$CONFFLAGS --disable-static --enable-music-mod" &&
	pkg_build_autoconf && pkg_build_slackdesc
}


