# libtheora, http://www.theora.org/

name=libtheora
version=1.0beta3
release=1
source=(http://downloads.xiph.org/releases/theora/$name-$version.tar.bz2)

build() {
    cd $name-$version
    ./configure \
	--prefix=/usr \
	--mandir=/usr/share/man \
	--infodir=/usr/share/man
    make
    make DESTDIR=$PKG install
    rm -rf $PKG/usr/share/doc
    rmdir $PKG/usr/share
}
