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

pkgname=wxcam
pkgver=1.0.7
pkgrel=1gv
source=(http://downloads.sourceforge.net/project/wxcam/wxcam/$pkgver/wxcam-$pkgver.tar.bz2)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://wxcam.sourceforge.net/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"wxcam (a webcam application)"
"wxcam supports video recording (in an avi uncompressed and Xvid"
"format), snapshot taking, and some special commands for philips"
"webcams, so you can also use the program for astronomy purposes. It"
"supports both video4linux 1 and 2 drivers, so it should work on a very"
"large number of devices."
)


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