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

# source: james
TARBALL=orc-0.4.17.tar.gz
MD5SUM=af1bf3dab9e69f3c36f389285e2a12a1
SRC_URL=http://gstreamer.freedesktop.org/src/orc/$TARBALL
BUNDLE=

SLACKREQ=''
SLACKDESC='liborc32: liborc32 0.4.17 (ORC - Optimized Inner Loops (Oil) Runtime Compiler)  
liborc32:  
liborc32: Orc is a just-in-time compiler implemented as a library and set of 
liborc32: associated tools for compiling and executing simple programs that 
liborc32: operate on arrays of data. Orc is unlike other general-purpose JIT 
liborc32: engines: the Orc bytecode and language is designed so that it can be 
liborc32: readily converted into SIMD instructions.  
liborc32: 
liborc32: This contains 32-bit version of the library.
liborc32: 
liborc32: 
'

### 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
	mkdir -p usr/bin &&
	mv -v tmp/*-32 usr/bin
}

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	# multilib
	mv /usr/bin/orcc /tmp/orcc-32

}



