#Maintainer: Ejis #Mandatory category=extra/d pkgname=irrKlang pkgver=1.1.3c pkgrel=2 zenver=62 arch=i486 source=("http://www.ambiera.at/downloads/$pkgname-$pkgver.zip") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/ejis/$category/$pkgname/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - an audio library for C++, C# and .NET" "irrKlang is a high level 2D and 3D cross platform (Windows, Mac OS X," "Linux) sound engine and audio library which plays WAV, MP3, OGG, MOD," "XM, IT, S3M and more file formats, and is usable in C++ and all .NET" "languages (C#, VisualBasic.NET, etc). It has all the features known" "from low level audio libraries as well as lots of useful features like" "a sophisticated streaming engine, extendable audio reading, single and" "multithreading modes, 3d audio emulation for low end hardware, a" "plugin system, multiple rolloff models and more. All this can be" "accessed via an extremely simple API." ) build() { cd $startdir/src unzip ./$pkgname-$pkgver.zip mkdir -p $startdir/pkg/usr/lib/irrKlang mkdir -p $startdir/pkg/usr/include/irrKlang mkdir -p $startdir/pkg/usr/share/irrKlang cp -v $startdir/src/$pkgname-1.1.3/bin/linux-gcc/* \ $startdir/pkg/usr/lib/irrKlang cp -v $startdir/src/$pkgname-1.1.3/include/* \ $startdir/pkg/usr/include/irrKlang/ cp -rvf $startdir/src/$pkgname-1.1.3/examples \ $startdir/pkg/usr/share/irrKlang/ cp -rvf $startdir/src/$pkgname-1.1.3/examples.net \ $startdir/pkg/usr/share/irrKlang/ cp -rvf $startdir/src/$pkgname-1.1.3/media \ $startdir/pkg/usr/share/irrKlang/ cp -rvf $startdir/src/$pkgname-1.1.3/plugins \ $startdir/pkg/usr/share/irrKlang/ cd $startdir/pkg/usr/lib ln -s ./irrKlang/libIrrKlang.so ./libIrrKlang.so ln -s ./irrKlang/ikpMP3.so ./ikpMP3.so } #Optional docs=('authors' 'copying' 'changelog' 'install' 'news' 'readme') #options=('noextract' 'norequiredbuilder') url="http://www.ambiera.com/irrklang/index.html" #extradepends=('') #lessdepends=('dep4' 'dep5' 'dep6') #dotnew=('etc/thing' 'etc/foo' 'etc/bar') #CFLAGS="-03" #CXXFLAGS="-03"