You are not logged in.

#1 2005-03-29 11:50:34

dadexter
Member
From: Dorval, QC, Canada
Registered: 2004-09-07
Posts: 274
Website

[new] spca50x

This PKGBUILD is for the kernel driver/module and tools for the spca5xx based webcams, such as the Intel Create An Share.

I have put kernel26mm in the dependencies because it's the only pre-compiled kernel I could get it to work with... if you wanna try a different one, or have compiled your own, just remove it from the depends line. X, SDL, and other deps are provided by sdl_images...


pkgname=spca5xx
pkgver=20050319
pkgrel=2
pkgdesc="Driver for spca5xx-based webcams"
url="http;//spca50x.sourceforge.net"
license="GPL"
depends=(sdl_image kernel26mm)
source=(http://mxhaard.free.fr/spca50x/Download/$pkgname-$pkgver.tar.gz http://m xhaard.free.fr/spca50x/Download/spcaview-20050101.tar.gz http://mxhaard.free.fr/ spca50x/Download/spcatools.tar.gz)
md5sums=(19dff36f01529714bc56d2abb014630d 57e94079130c908b9b21c3052908ae98 60acc 14a5803b7c556cbe4b27b53c3c8)

build() {
        cd $startdir/src/$pkgname-$pkgver
        make
        mkdir -p $startdir/pkg/lib/modules/`uname -r`/kernel/drivers/usb/media
        cp spca5xx.ko $startdir/pkg/lib/modules/`uname -r`/kernel/drivers/usb/me dia

        mkdir -p $startdir/pkg/usr/bin
        cd $startdir/src/spcaview-20050101
        make
        cp spcaview $startdir/pkg/usr/bin

        cd $startdir/src/spcatools
        make
        cp spcatools $startdir/pkg/usr/bin
        mkdir -p $startdir/pkg/usr/share/spcatools
        cp RedFont.png $startdir/pkg/usr/share/spcatools
}

Offline

Board footer

Powered by FluxBB