diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-28 06:20:17 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-28 06:20:17 +0000 |
commit | db213e74eef1c4af6dd5db4ea3b14c35295a2ef6 (patch) | |
tree | 655694fed1f1dcbed4711ee342d706086feb7f8f /app-misc/xscreensaver | |
parent | Completely removed this package, please use the ones in kde-i18n (diff) | |
download | historical-db213e74eef1c4af6dd5db4ea3b14c35295a2ef6.tar.gz historical-db213e74eef1c4af6dd5db4ea3b14c35295a2ef6.tar.bz2 historical-db213e74eef1c4af6dd5db4ea3b14c35295a2ef6.zip |
Added USE gtk,motif,gnome,pam,opengl
Fixed man dir install location
Fixed a install bug if KDEDIR exists
Diffstat (limited to 'app-misc/xscreensaver')
-rw-r--r-- | app-misc/xscreensaver/files/digest-xscreensaver-3.32-r1 | 1 | ||||
-rw-r--r-- | app-misc/xscreensaver/xscreensaver-3.32-r1.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/app-misc/xscreensaver/files/digest-xscreensaver-3.32-r1 b/app-misc/xscreensaver/files/digest-xscreensaver-3.32-r1 new file mode 100644 index 000000000000..7969fa95edf8 --- /dev/null +++ b/app-misc/xscreensaver/files/digest-xscreensaver-3.32-r1 @@ -0,0 +1 @@ +MD5 1fd37e14f8459171a283d8782ec33b52 xscreensaver-3.32.tar.gz diff --git a/app-misc/xscreensaver/xscreensaver-3.32-r1.ebuild b/app-misc/xscreensaver/xscreensaver-3.32-r1.ebuild new file mode 100644 index 000000000000..911ea1a029f1 --- /dev/null +++ b/app-misc/xscreensaver/xscreensaver-3.32-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Peter Gavin <pete@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-misc/xscreensaver/xscreensaver-3.32-r1.ebuild,v 1.1 2001/04/28 06:20:17 achim Exp $ + +#P= +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="a modular screensaver for X11" +SRC_URI="http://www.jwz.org/xscreensaver/${A}" +HOMEPAGE="http://www.jwz.org/xscreensaver/" + +DEPEND="virtual/x11 + >=sys-apps/shadow-20001016 + gtk? ( >=x11-libs/gtk+-1.2.8 ) + motif? ( >=x11-libs/openmotif-2.1.30 ) + opengl? ( virtual/opengl >=media-libs/gle-3.0.1 ) + gnome? ( >=gnome-base/gnome-core-1.2.0 ) + pam? ( >=sys-libs/pam-0.75 )" + +src_compile() { + local myconf + if [ "`use gnome`" ] + then + myconf="--with-gnome" + else + myconf="--without-gnome" + fi + if [ "`use gtk`" ] + then + myconf="$myconf --with-gtk" + else + myconf="$myconf --without-gtk" + fi + if [ "`use motif`" ] + then + myconf="$myconf --with-motif" + else + myconf="$myconf --without-motif" + fi + if [ "`use pam`" ] + then + myconf="$myconf --with-pam" + else + myconf="$myconf --without-pam" + fi + if [ "`use opengl`" ] + then + myconf="$myconf --with-gl --with-gle" + else + myconf="$myconf --without-gl --without-gle" + fi + + + try ./configure --prefix=/usr/X11R6 --mandir=/usr/X11R6/share/man --host=${CHOST} \ + --enable-subdir=/usr/X11R6/lib/xscreensaver $myconf \ + --with-mit-ext --with-dpms-ext --with-xf86vmode-ext \ + --with-proc-interrupts --with-xpm --with-xshm-ext \ + --with-xdbe-ext --enable-locking + try make + +} + +src_install () { + if [ "$KDEDIR" ] + then + dodir $KDEDIR/bin + fi + try make install_prefix=${D} install + if [ "`use gnome`" ] + then + dodir /opt/gnome/bin + mv ${D}/usr/X11R6/bin/screensaver-properties-capplet ${D}/opt/gnome/bin + fi +} + |