#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=libquicktime
pkgver=1.2.4
pkgrel=2gv
source=("http://downloads.sourceforge.net/libquicktime/libquicktime-$pkgver.tar.gz" "ffmpeg2.0.patch")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "about-nls")
url=http://libquicktime.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libquicktime (a library for reading and writing quicktime files)"
"libquicktime provides convenient access to quicktime files with a"
"variety of supported codecs."
)


build() {
	cd $startdir/src/$pkgname-$pkgver

	patch -p1 < $startdir/src/ffmpeg2.0.patch || exit 1

	echo "echo \"$CFLAGS\"" > cpuinfo.sh
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --enable-gpl --without-doxygen
	make || return 1
	make install DESTDIR=$startdir/pkg
} 
