From 9ef93ec1bc8e51f9fb42ed0f74268377c78c0551 Mon Sep 17 00:00:00 2001 From: Achim Gottinger Date: Sat, 28 Apr 2001 09:18:30 +0000 Subject: Added USE pam --- kde-apps/kdeadmin/files/digest-kdeadmin-2.1.1-r1 | 1 + kde-apps/kdeadmin/kdeadmin-2.1.1-r1.ebuild | 41 ++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 kde-apps/kdeadmin/files/digest-kdeadmin-2.1.1-r1 create mode 100644 kde-apps/kdeadmin/kdeadmin-2.1.1-r1.ebuild (limited to 'kde-apps') diff --git a/kde-apps/kdeadmin/files/digest-kdeadmin-2.1.1-r1 b/kde-apps/kdeadmin/files/digest-kdeadmin-2.1.1-r1 new file mode 100644 index 000000000000..05bfdbfcde91 --- /dev/null +++ b/kde-apps/kdeadmin/files/digest-kdeadmin-2.1.1-r1 @@ -0,0 +1 @@ +MD5 57fdfa9815d445edcae18f7f688942da kdeadmin-2.1.1.tar.bz2 diff --git a/kde-apps/kdeadmin/kdeadmin-2.1.1-r1.ebuild b/kde-apps/kdeadmin/kdeadmin-2.1.1-r1.ebuild new file mode 100644 index 000000000000..0c1d3cb16544 --- /dev/null +++ b/kde-apps/kdeadmin/kdeadmin-2.1.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Philippe Namias + +A=${P}.tar.bz2 +S=${WORKDIR}/${P} +DESCRIPTION="KDE ${PV} - Administration" +SRC_PATH="kde/stable/${PV}/distribution/tar/generic/src/${A}" +SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH + ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH" +HOMEPAGE="http://www.kde.org/" + +DEPEND=">=kde-base/kdelibs-${PV} + >=app-arch/rpm-3.0.5 + pam? ( >=sys-libs/pam-0.72 )" + +RDEPEND=$DEPEND + +src_compile() { + + local myconf + if [ "`use pam`" ] + then + myconf="--with-pam" + else + myconf="--without-pam" + fi + QTBASE=/usr/X11R6/lib/qt + try ./configure --prefix=/opt/kde2.1 --host=${CHOST} \ + --with-qt-dir=$QTBASE \ + --with-rpm $myconf + try make +} + +src_install() { + try make install DESTDIR=${D} + dodoc AUTHORS COPYING README +} + + + -- cgit v1.2.3-65-gdbad