diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-04-26 03:54:08 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-04-26 03:54:08 +0000 |
commit | a61b96527e8940d98c4f59d7c117b6bb2bbea8e5 (patch) | |
tree | 2e5392c799e07aac5a37bdadf471712c50a27ba9 /app-misc/xlockmore | |
parent | enhanced the tcl dependency listing (diff) | |
download | gentoo-2-a61b96527e8940d98c4f59d7c117b6bb2bbea8e5.tar.gz gentoo-2-a61b96527e8940d98c4f59d7c117b6bb2bbea8e5.tar.bz2 gentoo-2-a61b96527e8940d98c4f59d7c117b6bb2bbea8e5.zip |
fix broken header, cleanup formatting.
Diffstat (limited to 'app-misc/xlockmore')
-rw-r--r-- | app-misc/xlockmore/xlockmore-5.03-r5.ebuild | 54 |
1 files changed, 17 insertions, 37 deletions
diff --git a/app-misc/xlockmore/xlockmore-5.03-r5.ebuild b/app-misc/xlockmore/xlockmore-5.03-r5.ebuild index 1ba34f686096..7bd8cf4869cb 100644 --- a/app-misc/xlockmore/xlockmore-5.03-r5.ebuild +++ b/app-misc/xlockmore/xlockmore-5.03-r5.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: system@gentoo.org -# /space/gentoo/cvsroot/gentoo-x86/app-misc/xlockmore/xlockmore-5.03-r4.ebuild,v 1.1 2002/04/14 08:40:31 seemant Exp +# $Header: /var/cvsroot/gentoo-x86/app-misc/xlockmore/xlockmore-5.03-r5.ebuild,v 1.2 2002/04/26 03:54:08 woodchip Exp $ S=${WORKDIR}/${P} DESCRIPTION="Just another screensaver application for X" @@ -17,39 +17,24 @@ DEPEND="virtual/x11 media-libs/freetype # gtk? ( x11-libs/gtk+ ) src_compile() { - local myconf - - use pam \ - && myconf="${myconf} --enable-pam" \ + use pam && myconf="${myconf} --enable-pam" \ || myconf="${myconf} --disable-pam --enable-xlockrc" - - use nas \ - || myconf="${myconf} --without-nas" - - use esd \ - && myconf="${myconf} --with-esound" - - use opengl \ - || myconf="${myconf} --without-opengl" - - use truetype \ - || myconf="${myconf} --without-ttf" - - use esd \ - && myconf="${myconf} --with-esound" + use nas || myconf="${myconf} --without-nas" + use esd && myconf="${myconf} --with-esound" + use opengl || myconf="${myconf} --without-opengl" + use truetype || myconf="${myconf} --without-ttf" #use motif || myconf="${myconf} --without-motif" #use gtk || myconf="${myconf} --without-gtk" # sigh... broken configure script and/or makefile... myconf="${myconf} --without-motif --without-gtk" - ./configure \ - --prefix=/usr \ - --mandir=${prefix}/share/man/man1 \ - --sharedstatedir=/usr/share/xlockmore \ - --host=${CHOST} \ - ${myconf} || die + ./configure \ + --prefix=/usr \ + --mandir=${prefix}/share/man/man1 \ + --sharedstatedir=/usr/share/xlockmore \ + --host=${CHOST} ${myconf} || die #xlock resets to -j1 make || die @@ -67,17 +52,13 @@ src_compile() { # cd ${S}/xmlock # make all || die #fi - - } -src_install () { - - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man/man1 \ - xapploaddir=${D}/usr/X11R6/lib/X11/app-defaults \ - install || die +src_install() { + make install \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man/man1 \ + xapploaddir=${D}/usr/X11R6/lib/X11/app-defaults || die #Install pam.d file and unset setuid root if use pam; then @@ -85,7 +66,7 @@ src_install () { newins etc/xlock.pamd xlock chmod 111 ${D}/usr/bin/xlock fi - + insinto /usr/share/xlockmore/sounds doins sounds/* @@ -94,5 +75,4 @@ src_install () { dodoc docs/* README # use gtk && dodoc xglock/xglockrc xglock/README.xglock - } |