### this file is sourced not run
PKGVER=0.399
PKGBUILD=1
PKGARCH=x86_64

# source: james
# note: have to stick with revision 399, anything newer will need SDL 2.0

TARBALL=smpeg-r399.tar.bz2
MD5SUM=f59425d6e0db9cbdebccdbc18c289c20
SRC_URL=http://distro.ibiblio.org/fatdog/source/700/$TARBALL
BUNDLE=

SLACKREQ='' # 
SLACKDESC="libsmpeg: libsmpeg $PKGVER (MPEG decoding library)  
libsmpeg:  
libsmpeg: smpeg is an mpeg decoding library, which runs on just about any 
libsmpeg: platform. It comes with two sample decoders, plaympeg (console, no UI), 
libsmpeg: and gtv, a simple GTK+ interface.  
libsmpeg: 
libsmpeg: This is revision 399 of smpeg for use with SDL 1.2.
libsmpeg: Newer revision requires SDL 2.0
libsmpeg: 
libsmpeg: 
libsmpeg:  
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/smpeg*
	./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	# multilib
	mv -v /usr/bin/smpeg-config{,-64} &&
	ln -sfv multiarch_wrapper /usr/bin/smpeg-config

}
