# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/sys-fs/lufs/lufs-0.9.7.ebuild,v 1.1 2003/11/26 01:25:42 wmertens Exp $ inherit kmod MY_PN="fuse" S="${WORKDIR}/${MY_PN}-${PV}" DESCRIPTION="True user-mode filesystem implementation" SRC_URI="mirror://sourceforge/avf/${MY_PN}-${PV}.tar.gz" HOMEPAGE="http://sourceforge.net/projects/avf" LICENSE="GPL-2 LGPL" DEPEND="virtual/linux-sources" KEYWORDS="~x86" SLOT="${KV}" IUSE="doc" src_compile() { econf || die "config failed !" ./configure \ $(use doc && echo "--enable-example") \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" emake || die "compilation failed !" } src_install () { dodoc AUTHORS ChangeLog INSTALL README-2.4 README-2.6 \ README.NFS NEWS README TODO example einstall || die } pkg_postinst() { /usr/sbin/update-modules } pkg_postrm() { /sbin/modprobe -r fuse }