1 # Maintainer: cantabile <cantabile dot desu at gmail dot com>
2 # Contributor (from 'cdfs'): J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar>
3 # based on 'cdfs' in [community]
9 _kernver=${_kernver_one}${_suffix}
11 pkgname=${_appname}${_suffix}
14 pkgdesc="File system module that 'exports' all tracks and boot images \
15 on a CD as normal files. For use with kernel26${_suffix}"
16 arch=('i686' 'x86_64')
17 url="http://www.elis.UGent.be/~ronsse/cdfs/"
19 install=${_appname}.install
20 depends=("kernel26${_suffix}>=${_kernver_one}" "kernel26${_suffix}<${_kernver_two}")
21 makedepends=("kernel26-headers>=${_kernver_one}" "kernel26-headers<${_kernver_two}"
22 "kernel26${_suffix}>=${_kernver_one}" "kernel26${_suffix}<${_kernver_two}")
23 source=("http://www.elis.UGent.be/~ronsse/cdfs/download/${_appname}-${pkgver}.tar.bz2")
24 md5sums=('ac64c014a90e3c488394832ea29605b3')
27 cd "${srcdir}/${_appname}-${pkgver}"
31 < .sendfile = generic_file_sendfile
33 > // .sendfile = generic_file_sendfile
36 make KDIR=/usr/src/linux-${_kernver} || return 1
37 mkdir -p "${pkgdir}/lib/modules/${_kernver}/extra" && \
38 cp cdfs.ko "${pkgdir}/lib/modules/${_kernver}/extra"