1 # Contributor: Frank Oosterhuis <frank@scriptzone.nl
6 pkgdesc="Linux driver for Ricoh Bay1Controller Secure Digital and MMC Card Readers"
8 url="http://sourceforge.net/projects/sdricohcs"
11 makedepends=('subversion')
14 install=sdricoh_cs.install
16 source=(sdricoh_cs.install debug.patch write.patch)
17 md5sums=(e8aa20bbe9e98e33d8f2b8cdf7f11da0 8c5cecb1c07f79d6a0e54818ef10638f 18ca4a9fde9956af64cd2489b0e5110a)
18 sha1sums=(ea26d8019ea4988125142b60048887d5efb6a22a e7aa5af67ad83291b6d69bcefd02404b58aebacf 6fec49a1125223d23c7aab096a4a5c913bbfcede)
21 _svntrunk=https://sdricohcs.svn.sourceforge.net/svnroot/sdricohcs
25 msg "Connecting to $_svnmod SVN server...."
26 svn co $_svntrunk $_svnmod -r $pkgver
28 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
32 patch -Np0 -i write.patch
33 # patch -Np0 -i debug.patch
35 cd sdricohcs/sdricoh_cs
39 install -m 644 -D sdricoh_cs.ko \
40 $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/mmc/sdricoh_cs.ko