# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdeadmin/kdeadmin-3.4.0-r1.ebuild,v 1.2 2005/05/12 14:04:52 agriffis Exp $ inherit kde-dist eutils DESCRIPTION="KDE administration tools (user manager, etc.)" KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~ia64" IUSE="" DEPEND="~kde-base/kdebase-${PV}" src_unpack() { kde_src_unpack # Fix /etc/passwd corruption in kuser (kde bug 100443). Applied for 3.4.1. epatch "${FILESDIR}/${P}-kuser.patch" } src_compile() { # we only want to compile the lilo config module on x86, but there we want to make sure it's # always compiled to ensure consistent behaviour of the package across both lilo and grub systems, # because configure when left to its own devices will build lilo-config or not basd on whether # lilo is present in the path. # so, we make configure build it by removing the configure.in.in file that checks for # lilo's presense if use x86; then echo > ${S}/lilo-config/configure.in.in make -f admin/Makefile.common fi export DO_NOT_COMPILE="${DO_NOT_COMPILE} ksysv" kde_src_compile } # TODO: add nis support