[cesar@argh spca5xx]$ sudo conary update spca5xx-2006_01_01.ccs
Resolving dependencies...The following updates will be performed:
Install spca5xx(:doc :lib)=2006_01_01-1-1
continue with update? [Y/n]
Applying update job:
Install spca5xx(:doc :lib)=2006_01_01-1-1
Creating database transaction (3 of 3)...error: non-empty directory /lib/modules/2.6.14.5-fdl.1.x86.i686.cmov/kernel/drivers/usb/media is in the way of a newly created file in spca5xx:lib=/contrib.rpath.org@rpl:devel/2006_01_01-1-0/local@local:COOK/1[~!spca5xx.debug,~!spca5xx.numa,~!spca5xx.smp is: x86]
error: changeset cannot be applied
[cesar@argh spca5xx]$ cat spca5xx.recipe
# Copyright (c) 2004, 2005 Elliot Peele <elliot@bentlogic.net> and contributors
# Modified by Cesar Cardoso <cesar@zyakannazio.eti.br>
# Thanks to elliot and dugan for the macros
# Heavily borrowed from madwifi recipe :)
loadSuperClass('kernelmodulepackage.recipe', label='drivers.rpath.org@rpl:devel')
class spca5xx(KernelModulePackageRecipe):
name = 'spca5xx'
version = '2006_01_01'
buildRequires = ['kernel:build-tree',
'sharutils:runtime']
def unpack(r):
r.macros.ksrcdir = '/lib/modules/%(kver)s/build'
r.macros.modpath = '/lib/modules/%(kver)s/kernel/drivers/usb/media'
r.macros.cvsVer = r.version.replace('_', '')
r.addArchive('http://mxhaard.free.fr/spca50x/Download/%(name)s-%(cvsVer)s.tar.gz')
def build(r):
r.Make('KERNELPATH=%(ksrcdir)s MODULEPATH=%(modpath)s')
def install(r):
# make install is hardcoded on this makefile,
# so we should install by hand.
# Got from ndiswrapper recipe
r.Install('spca5xx.ko', '%(modpath)s')
r.TagSpec('kernel', '/lib/modules/.*/.*\.k?o$')