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

pkgname=libmpeg2
pkgver=0.5.1
pkgrel=1gv
arch=x86_64
source=(http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://libmpeg2.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libmpeg2 - a free MPEG-2 video stream decoder"
"libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video"
"streams. It is released under the terms of the GPL license."
)


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
}