#Maintainer: Thorsten Muehlfelder #Mandatory pkgname=libvorbis pkgver=aotuv.b5.5 pkgrel=2 zenver=52 arch=i486 source=("http://www.geocities.jp/aoyoume/aotuv/test_version/aotuv-b5.5_20080521_RC1.tar.bz2") #Optional url="http://www.geocities.jp/aoyoume/aotuv/" docs=('aoTuV_README-1st.txt' 'aoTuV_technical.txt' 'AUTHORS' 'COPYING' 'todo.txt') extradepends=('libao') lessdepends=('libvorbis') # you can use flags for an optimized build #CFLAGS="-O3 -march=k8 -msse3" #CXXFLAGS="-O3 -march=k8 -msse3" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - (Ogg Vorbis library)" "This library supports the Vorbis General Audio Compression Codec" "(commonly known as Ogg Vorbis). Ogg Vorbis is a fully open," "non-proprietary, patent-and-royalty-free, general-purpose compressed" "audio format for audio and music at fixed and variable bitrates." "" "This is the aoTuV version, recommended by hydrogenaudio.org. For more" "informations about the aoTuV version take a llok at:" "http://wiki.hydrogenaudio.org/index.php?title=Recommended_Ogg_Vorbis" ) build() { cd $startdir/src/aotuv-b5.5_20080521 chmod +x autogen.sh configure ./autogen.sh || return 1 sed -i 's#CFLAGS="-O20#CFLAGS="-O2#' configure || return 1 ./configure --prefix=/usr || return 1 make -j3 || return 1 make DESTDIR=$startdir/pkg install rm -R $startdir/pkg/usr/share/doc }