diff options
Diffstat (limited to 'kde-base/kdeadmin/kdeadmin-3.5.8.ebuild')
-rw-r--r-- | kde-base/kdeadmin/kdeadmin-3.5.8.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/kde-base/kdeadmin/kdeadmin-3.5.8.ebuild b/kde-base/kdeadmin/kdeadmin-3.5.8.ebuild new file mode 100644 index 000000000000..d25f9da12a37 --- /dev/null +++ b/kde-base/kdeadmin/kdeadmin-3.5.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeadmin/kdeadmin-3.5.8.ebuild,v 1.1 2007/10/19 22:12:57 philantrop Exp $ + +inherit kde-dist + +DESCRIPTION="KDE administration tools (user manager, etc.)" + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="kdehiddenvisibility" + +DEPEND="~kde-base/kdebase-${PV}" +RDEPEND="${DEPEND} + virtual/cron" + +src_unpack() { + kde_src_unpack + + # Fix desktop file + sed -i -e "s:\(Configuration-KDE-Network-mdk\):X-\1:" \ + "${S}/knetworkconf/knetworkconf/kcm_knetworkconfmodule.desktop" +} + +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 + + local myconf="--with-shadow" + + export DO_NOT_COMPILE="${DO_NOT_COMPILE} ksysv" + + kde_src_compile +} |