#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>
#Previous packager: Thorsten Muehlfelder <thenktor@gmx.de>

pkgname=libdvdcss
pkgver=1.2.12
pkgrel=1rl
source=(http://download.videolan.org/pub/libdvdcss/$pkgver/$pkgname-$pkgver.tar.bz2)
docs=("readme" "install" "copying" "changelog" "authors" "news")
url="http://www.videolan.org/developers/libdvdcss.html"

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libdvdcss (a library for accessing encryped DVDs)"
"libdvdcss is s library designed for accessing DVDs like a block device"
"without having to bother about decryption."
)

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
}