# Description: Compact Disc Digital Audio extraction tool
# URL: http://xiph.org/paranoia/
# Packager: pierre at nutyx dot org
# Depends on: 

name=cdparanoia
version=10.2
release=1

source=(http://downloads.xiph.org/releases/cdparanoia/$name-III-$version.src.tgz \
	 http://www.linuxfromscratch.org/patches/blfs/svn/cdparanoia-III-10.2-gcc_fixes-1.patch)

build() {
cd $name-III-$version
patch -Np1 -i ../cdparanoia-III-10.2-gcc_fixes-1.patch
./configure --prefix=/usr
make || make -j1
make prefix=$PKG/usr MANDIR=$PKG/usr/share/man install
chmod -v 755 $PKG/usr/lib/libcdda_*.so.0.10.2
}
