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

# source: james
TARBALL=SDL2_mixer-$PKGVER.tar.gz
MD5SUM=aaa0551393993c14a13f72b339c0ed6c
SRC_URL=https://www.libsdl.org/projects/SDL_mixer/release/$TARBALL
BUNDLE=

SLACKREQ='libSDL2_32 mpg123_32'
SLACKDESC="libSDL2-mixer32: libSDL2-mixer32 $PKGVER (SDL2 sound mixing library)
libSDL2-mixer32: 
libSDL2-mixer32: SDL_mixer is a sound mixing library that is used with the SDL 
libSDL2-mixer32: library, and almost as portable. It allows a programmer to use 
libSDL2-mixer32: multiple samples along with music without having to code a mixing 
libSDL2-mixer32: algorithm themselves. It also simplyfies the handling of loading and 
libSDL2-mixer32: playing samples and music from all sorts of file formats.
libSDL2-mixer32: 
libSDL2-mixer32: https://www.libsdl.org/projects/SDL_mixer/
libSDL2-mixer32: 
libSDL2-mixer32: This contains 32-bit version of the library
"
SLACKSUG='libpng libtiff libjpeg-turbo'

### 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" &&
	pkg_build_autoconf && pkg_build_slackdesc
}


