# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ncpfs-2.2.0.19-r1.ebuild,v 1.7 2005/01/29 08:36:38 corsair Exp $ IUSE="nls pam" DESCRIPTION="Provides Access to Netware services using the NCP protocol (Kernel support must be activated!)" SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/ncpfs/latest/${P}.tar.gz" HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/ncpfs/latest/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" DEPEND="nls? ( sys-devel/gettext ) pam? ( sys-libs/pam )" src_compile() { local myconf use nls || myconf="${myconf} --disable-nls" use pam \ && myconf="${myconf} --enable-pam" \ || myconf="${myconf} --disable-pam" econf ${myconf} || die "econf failed" emake || die } src_install () { # directory ${D}/lib/security needs to be created or the install fails dodir /lib/security make DESTDIR=${D} install || die }