You are not logged in.

#1 2006-01-08 18:36:14

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

spca5xx.install

AUR spca5xx 0.57.08-1 package by tgc is very well noted, but I'm missing something for sure & can't make it so far.

PKGBUILD say

depends=()
install=spca5xx.install

build() {

& I noticed tgc wrote

20051222 : The spca5xx.install script _does_ exist.

But when I run makepkg (-bc), all I get is

==> ERROR: install scriptlet (spca5xx.install) does not exist.

I also downloaded & detarred spca5xx-20060101 sources, then launched a find . -name "*.install" with NULL result.

I'm gonna try to compile the module from source, as I've got a webcam that should be supported by spca5xx :
# lsusb say

Bus 004 Device 005: ID 04fc:0561 Sunplus Technology Co., Ltd

and spca5xx-20060101/README :

{USB_DEVICE (0x04fc, 0x0561)},        /* Flexcam 100 */

But I'd like to know why I can't build it with the PKGBUILD  :?:


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#2 2006-01-08 18:42:15

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: spca5xx.install

the .install file should be included in the tarball from aur, not the source.
It builds fine with aurbuild if you care to try that, its in aur as well.

Offline

#3 2006-01-08 19:13:07

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: spca5xx.install

Yeah, /me blind

I find it easier with following working PKGBUILD:

# Contributor: Tomas Groth (tgc) <tomasgroth@yahoo.dk>
pkgname=spca5xx
pkgver=0.57.08
pkgrel=1
_pkgdate=20060101
pkgdesc="spca5xx is a kernel module with support for over 175 USB webcams"
depends=()
source=(http://mxhaard.free.fr/spca50x/Download/spca5xx-$_pkgdate.tar.gz 
        http://aur.archlinux.org/packages/spca5xx/spca5xx/spca5xx.install    <<<<<<< ADDED
        )
url="http://mxhaard.free.fr/"
md5sums=('2a4dc191262c16c14bfd2fd563c3e8a1' 'd53f48b9f414c529ef1e17665499082a') <<<<<<< ADDED

build() {
install=spca5xx.install   <<<<<<< MODIFIED
  cd $startdir/src/$pkgname-$_pkgdate
  make || return 1
  sed -i s%MODULE_INSTALLDIR = /lib%MODULE_INSTALLDIR = $startdir/pkg/lib% Makefile
  sed -i s%/lib/modules/`%$startdir/pkg/lib/modules/`% Makefile
  sed -i s%/sbin/depmod -ae%% Makefile
  sed -i s%@/sbin/depmod%% Makefile
  sed -i s%su -c "make install-root"%make install-root% Makefile

  make install
}

Thank you for your help Penguin smile


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

Board footer

Powered by FluxBB