2009-10-10 02:23:22 +00:00
|
|
|
# Maintainer: roberto <roberto@archlinux.org>
|
2009-10-19 03:17:58 +00:00
|
|
|
|
2009-10-10 02:23:22 +00:00
|
|
|
pkgname=camsource
|
|
|
|
pkgver=0.7.0
|
|
|
|
pkgrel=5
|
|
|
|
pkgdesc="Grabs images from a v4l device and makes them available to various plugins for processing or handling."
|
2009-10-19 03:17:58 +00:00
|
|
|
arch=('arm')
|
2009-10-10 02:23:22 +00:00
|
|
|
url="http://camsource.sourceforge.net/"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('libxml2' 'libjpeg>=7')
|
|
|
|
backup=('etc/camsource.conf')
|
|
|
|
options=('!libtool')
|
|
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 \
|
2009-10-19 03:17:58 +00:00
|
|
|
mod_handle.c.patch)
|
|
|
|
md5sums=('ffd824f13f99011984399fc3b7526c71'
|
|
|
|
'a8fabaf271b6f575c6e957573908c529')
|
2009-10-10 02:23:22 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
patch -Np0 -i $srcdir/mod_handle.c.patch || return 1
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc || return 1
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=$pkgdir install || return 1
|
|
|
|
mv $pkgdir/etc/camsource.conf.example $pkgdir/etc/camsource.conf
|
|
|
|
}
|