mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
877 B
Bash
25 lines
877 B
Bash
|
# $Id: PKGBUILD 44474 2009-07-02 06:57:29Z allan $
|
||
|
# 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=('i686' 'x86_64')
|
||
|
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
|
||
|
}
|