updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / webcam_server / PKGBUILD
blobaf9d0d34f33e90010351f3642774a13505dcd892
1 # Contributor: Juan Diego Tascon
3 pkgname=webcam_server
4 pkgver=0.50
5 pkgrel=3
6 pkgdesc="webcam_server is a program that allows others to view your webcam from a web browser"
7 url="http://webcamserver.sourceforge.net/"
8 depends=('libjpeg')
9 license=('GPL')
10 arch=('i686' 'x86_64')
11 source=("http://jaist.dl.sourceforge.net/sourceforge/webcamserver/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('96830836f64edbb12c248eb84e6b0d18')
14 build() {
15         cd $srcdir/$pkgname-$pkgver
16         
17         CFLAGS="-ljpeg"
18         ./configure --prefix=/usr || return 1
19         make || return 1
20         make prefix=$pkgdir/usr install
21         
22         # Install the client
23         mkdir -p $pkgdir/usr/share/webcam_server
24         cp -rf src/client $pkgdir/usr/share/webcam_server