mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
26 lines
915 B
Bash
26 lines
915 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Christian Schmidt <mucknert@gmx.net>
|
||
|
|
||
|
pkgname=w3cam
|
||
|
pkgver=0.7.2
|
||
|
pkgrel=6
|
||
|
pkgdesc="a small and fast CGI program to retrieve images from a video4linux device."
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://mpx.freeshell.net/"
|
||
|
license=('GPL')
|
||
|
depends=(libpng libjpeg)
|
||
|
source=(http://mpx.freeshell.net/$pkgname-$pkgver.tar.gz)
|
||
|
md5sums=('eec0b301b32bc8e9f65a4e54248c9868')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver
|
||
|
./configure --prefix=/usr --with-device=/dev/video0 --with-ttf-inc=/usr/include/freetype
|
||
|
make || return 1
|
||
|
mkdir -p $startdir/pkg/usr/cgi-bin $startdir/pkg/usr/bin $startdir/pkg/usr/man/man1
|
||
|
make prefix=$startdir/pkg/usr/ install && \
|
||
|
mkdir -p $startdir/pkg/usr/lib/w3cam/ && \
|
||
|
mv $startdir/pkg/usr/cgi-bin/* $startdir/pkg/usr/lib/w3cam/ && \
|
||
|
rm -rf $startdir/pkg/usr/cgi-bin
|
||
|
}
|