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

pkgname=libmp4v2
pkgver=1.5.0.1
pkgrel=1gv
arch=i486
source=(http://resare.com/libmp4v2/dist/libmp4v2-$pkgver.tar.bz2)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://resare.com/libmp4v2/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libmp4v2 (A library to read and manipulate the mp4 container format)"
"The mpeg4ip package, available from http://mpeg4ip.net/ contains a"
"very useful piece of software, the libmp4v2 package. Unfortunately"
"the mpeg4ip package also contains software that are covered by"
"patents in some juridistictions and therefore the policy of several"
"different free software distributions stops it's inclusion."
"Therefore I've prepared this redistribution of the libmp4v2 package."
"It contains only code to read and manipulate the mp4 container format,"
"and is free from patent issues to the best of my knowledge."
)

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