summaryrefslogtreecommitdiff
path: root/extra/camsource/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/camsource/PKGBUILD')
-rw-r--r--extra/camsource/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/camsource/PKGBUILD b/extra/camsource/PKGBUILD
new file mode 100644
index 000000000..5c6221769
--- /dev/null
+++ b/extra/camsource/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 68022 2010-02-10 14:13:39Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=camsource
+pkgver=0.7.0
+pkgrel=6
+pkgdesc="Grabs images from a v4l and v4l2 webcam devices"
+arch=('i686' 'x86_64')
+url="http://camsource.sourceforge.net/"
+license=('GPL')
+depends=('libxml2' 'libjpeg>=8')
+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
+}