updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / camsource / PKGBUILD
blobf5efda2a9fe468ba937449e7cdd0179b1cbc9f80
1 # Contributor:
3 pkgname=camsource
4 pkgver=0.7.0
5 pkgrel=7
6 pkgdesc="Grabs images from a v4l and v4l2 webcam devices"
7 arch=('i686' 'x86_64')
8 url="http://camsource.sourceforge.net/"
9 license=('GPL')
10 depends=('libxml2' 'libjpeg')
11 backup=('etc/camsource.conf')
12 options=('!libtool')
13 source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
14         'mod_handle.c.patch')
15 md5sums=('ffd824f13f99011984399fc3b7526c71'
16          'a8fabaf271b6f575c6e957573908c529')
18 build() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
21   patch -Np0 -i ${srcdir}/mod_handle.c.patch
22   ./configure --prefix=/usr \
23               --sysconfdir=/etc
24   make
27 package() {
28   cd "${srcdir}/${pkgname}-${pkgver}"
30   make DESTDIR="${pkgdir}" install
31   mv ${pkgdir}/etc/camsource.conf.example ${pkgdir}/etc/camsource.conf