#Maintainer: Thorsten Muehlfelder #Mandatory pkgname=libvorbis pkgver=aotuv.b5.7 pkgrel=1tm arch=x86_64 source=("http://www.geocities.jp/aoyoume/aotuv/source_code/libvorbis-aotuv_b5.7.tar.bz2") #Optional url="http://www.geocities.jp/aoyoume/aotuv/" docs=('aoTuV_README-1st.txt' 'aoTuV_technical.txt' 'AUTHORS' 'COPYING' 'todo.txt') # you can use flags for an optimized build, e.g.: #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.7_20090301 chmod +x autogen.sh configure ./autogen.sh || return 1 sed -i 's#CFLAGS="-O20#CFLAGS="-O2#' configure || return 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --disable-static || return 1 make -j3 || return 1 make DESTDIR=$startdir/pkg install rm -R $startdir/pkg/usr/share/doc }