PKGBUILDs/extra/camsource/PKGBUILD
2009-10-18 22:17:58 -05:00

25 lines
821 B
Bash

# Maintainer: roberto <roberto@archlinux.org>
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."
arch=('arm')
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 \
mod_handle.c.patch)
md5sums=('ffd824f13f99011984399fc3b7526c71'
'a8fabaf271b6f575c6e957573908c529')
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
}