summaryrefslogtreecommitdiff
path: root/community/wxcam/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/wxcam/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/wxcam/PKGBUILD')
-rw-r--r--community/wxcam/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/wxcam/PKGBUILD b/community/wxcam/PKGBUILD
new file mode 100644
index 000000000..4364dd27a
--- /dev/null
+++ b/community/wxcam/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+pkgname=wxcam
+pkgver=1.1
+pkgrel=1
+arch=('i686' 'x86_64')
+license=(GPL)
+pkgdesc="Webcam application for linux"
+# version of CImg library needed to compile wxcam -
+# http://cimg.sourceforge.net/
+_CImg_ver=1.4.9
+url="http://wxcam.sourceforge.net"
+makedepends=('intltool>=0.35.0')
+depends=('libglade' 'mjpegtools' 'perlxml' 'wxgtk' 'xvidcore' 'v4l-utils' 'alsa-lib')
+source=(http://downloads.sourceforge.net/wxcam/${pkgname}-${pkgver}.tar.bz2
+ http://downloads.sourceforge.net/cimg/CImg-${_CImg_ver}.zip)
+md5sums=('c9ea8991b6375c1709a7ce4e61fcc263'
+ 'a07cba03f6d66a9970e0b3fcc230bddc')
+
+build() {
+ cp $srcdir/CImg-${_CImg_ver}/CImg.h $srcdir/$pkgname-$pkgver
+
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+
+ mv $pkgdir/usr/doc $pkgdir/usr/share/
+}