#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=orc
pkgver=0.4.16
pkgrel=1gv
source=(http://code.entropywave.com/download/orc/orc-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://code.entropywave.com/projects/orc/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"orc (The Oil Runtime Compiler)"
"Orc is a library and set of tools for compiling and executing very"
"simple programs that operate on arrays of data. The 'language' is a"
"generic assembly language that represents many of the features"
"available in SIMD architectures, including saturated addition and"
"subtraction, and many arithmetic operations."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --disable-static --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg

	rm -rf $startdir/pkg/usr/share/gtk-doc
}