# $Header: /var/cvsroot/gentoo-x86/sys-kernel/cdfs/cdfs-2.6.3b.ebuild,v 1.2 2007/08/16 13:05:55 zzam Exp $ RESTRICT="mirror" inherit linux-mod S=${WORKDIR}/cdfs-${PV}/ DESCRIPTION="CD FileSystem driver" SRC_URI="http://vdr.unetz.com/download/cdfs-${PV}.tgz" HOMEPAGE="http://vdr.unetz.com/cdfs.html" IUSE="doc" KEYWORDS="~x86" SLOT="0" LICENSE="GPL" MODULE_NAMES="cdfs(extra:)" BUILD_PARAMS="KERNELSRC=${KV_DIR} KERNELVERSION=${KV_FULL}" BUILD_TARGETS="all" src_unpack() { unpack ${A} || die "unpack failed" cd ${WORKDIR} } src_install() { linux-mod_src_install # Docs use doc && dodoc cdfs.html INSTALL CHANGES COPYING } pkg_postinst() { linux-mod_pkg_postinstall einfo "If you are not using devfs, loading the module automatically at" einfo "boot up, you need to add the module \"cdfs\" to your /etc/modules.autoload." einfo }