#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=libcdaudio
pkgver=0.99.12p2
pkgrel=1gv
arch=i486
source=(http://sourceforge.net/projects/libcdaudio/files/libcdaudio/libcdaudio-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://libcdaudio.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libcdaudio - a library for controlling audio CDs"
"libcdaudio is a portable library for controlling audio CDs. It is also"
"able to manage transfers of information with the CDDB"
"(http://www.freedb.org/) and CDIndex systems."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
}