/[gentoo-x86]/gnome-apps/gdm/gdm-2.0_beta4-r2.ebuild
Gentoo

Contents of /gnome-apps/gdm/gdm-2.0_beta4-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Sep 4 20:59:47 2001 UTC (18 years, 1 month ago) by hallski
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
moved to gnome-base

1 # Copyright 1999-2000 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Author Achim Gottinger <achim@gentoo.org>
4 # $Header: /home/cvsroot/gentoo-x86/gnome-apps/gdm/gdm-2.0_beta4-r2.ebuild,v 1.4 2001/08/02 20:06:35 danarmak Exp $
5
6 P=gdm-2.0beta4
7 A=${P}.tar.gz
8 S=${WORKDIR}/${P}
9 DESCRIPTION="gdm"
10 SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/gdm/${A}"
11 HOMEPAGE="http://www.gnome.org/"
12
13 DEPEND=">=sys-libs/pam-0.72
14 >=sys-apps/tcp-wrappers-7.6
15 >=gnome-base/gnome-libs-1.2.4"
16
17 RDEPEND=">=sys-libs/pam-0.72
18 >=gnome-base/gnome-libs-1.2.4"
19
20 src_unpack() {
21 unpack ${A}
22 cd ${S}/daemon
23 cp gdm.h gdm.h.orig
24 sed -e "s:/var/gdm:/var/lib/gdm:" \
25 -e "s:/usr/bin/X11:/usr/X11R6/bin:g" \
26 gdm.h.orig > gdm.h
27 }
28
29 src_compile() {
30 try ./configure --host=${CHOST} --prefix=/opt/gnome \
31 --sysconfdir=/etc/X11 --localstatedir=/var/lib
32
33 try pmake
34 }
35
36 src_install() {
37 try make prefix=${D}/opt/gnome sysconfdir=${D}/etc/X11 \
38 localstatedir=${D}/var/lib install
39 mv ${D}/etc/X11/pam.d ${D}/etc
40 cd ${D}/etc/X11/gdm
41 for i in Init/Default PostSession/Default PreSession/Default gdm.conf
42 do
43 cp $i $i.orig
44 sed -e "s:/usr/bin/X11:/usr/X11R6/bin:g" $i.orig > $i
45 rm $i.orig
46 done
47 rm Sessions/*
48 exeinto /etc/X11/gdm/Sessions
49 doexe ${FILESDIR}/wm/{afterstep,blackbox,enlightenment,fvwm,gnome,icewm,kde,pwm,windowmaker,xfce}
50 cd ${S}
51 dodoc AUTHORS COPYING ChangeLog NEWS README* RELEASENOTES TODO
52 docinto sgml
53 dodoc docs/C/gdm.sgml
54 docinto html
55 dodoc docs/C/gdm.html
56 docinto html/gdm
57 dodoc docs/C/gdm/*.html
58
59 }
60
61
62
63

  ViewVC Help
Powered by ViewVC 1.1.20