Magellan Linux

Annotation of /trunk/core/xscreensaver/xscreensaver-5.05-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1330 - (hide annotations) (download)
Sat May 2 14:26:10 2009 UTC (15 years, 4 months ago) by niro
File size: 2406 byte(s)
-moved to 'core'
1 niro 2 # $Header: /magellan-cvs/smage/xscreensaver/xscreensaver-5.05-r1.smage2,v 1.1 2008/05/05 16:26:42 niro Exp $
2    
3     PNAME="xscreensaver"
4     PVER="5.05"
5     PBUILD="r1"
6    
7     PCATEGORIE="x11-misc"
8     STATE="unstable"
9    
10     DESCRIPTION="a screen saver and locker for the x-window-system."
11     HOMEPAGE="http://www.jwz.org/xscreensaver/"
12    
13     DEPEND=">= x11-libs/libXxf86misc-1
14     >= x11-apps/xwininfo-1
15     >= x11-libs/libXinerama-1
16     >= media-libs/netpbm-10
17     >= media-libs/libjpeg-6
18     >= sys-libs/zlib-1.2
19     >= dev-libs/libxml2-2.6
20     >= x11-libs/gtk2+-2.12
21     >= dev-libs/glib2-2.14
22     >= gnome-base/libglade-2.6
23     >= sys-libs/pam-0.99
24     >= virtual/opengl
25     >= media-libs/gle-3.1.0"
26    
27     SDEPEND=">= x11-proto/xf86vidmodeproto-2.2
28     >= x11-proto/xextproto-7
29     >= x11-proto/scrnsaverproto-1
30     >= x11-proto/recordproto-1
31     >= x11-proto/xf86miscproto-0.9
32     >= x11-proto/xineramaproto-1
33     >= sys-dev/bc-1.06
34     >= dev-lang/perl-5.10
35     >= dev-util/pkgconfig-0.20
36     >= sys-dev/gettext-0.17"
37    
38     SRCFILE="${PNAME}-${PVER}.tar.gz"
39     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
40    
41     sminclude mtools
42    
43     SRC_URI=(
44     http://www.jwz.org/${PNAME}/${SRCFILE}
45     mirror://${PNAME}/${SRCFILE}
46     mirror://${PNAME}/xscreensaver.pam
47     mirror://${PNAME}/${PNAME}-4.24-app-defaults.patch
48     )
49    
50     src_prepare()
51     {
52     munpack ${SRCFILE} || die
53     cd ${SRCDIR}
54    
55     # fix app defaults for X11R7
56     mpatch ${PNAME}-4.24-app-defaults.patch || die
57    
58     # rebuild configure
59     autoreconf || die
60     }
61    
62     src_compile()
63     {
64     cd ${SRCDIR}
65    
66     # force app-defaults dir location
67     ac_cv_x_app_defaults=/usr/$(mlibdir)/X11/app-defaults \
68     mconfigure \
69     --libexecdir=/usr/$(mlibdir) \
70     --enable-hackdir=/usr/$(mlibdir)/xscreensaver \
71     --x-libraries=/usr/$(mlibdir) \
72     --x-includes=/usr/include \
73     --with-mit-ext \
74     --with-dpms-ext \
75     --with-xf86vmode-ext \
76     --with-xf86gamma-ext \
77     --with-proc-interrupts \
78     --with-xpm \
79     --with-xshm-ext \
80     --with-xdbe-ext \
81     --enable-locking \
82     --with-fortune=/usr/bin/fortune \
83     --without-motif \
84     --with-gtk \
85     --with-xml \
86     --with-xinerama-ext \
87     --with-pam \
88     --without-kerberos \
89     --with-gl \
90     --with-gle \
91     --with-jpeg \
92     --enable-nls \
93     || die
94    
95     mmake || die
96     }
97    
98     src_install()
99     {
100     cd ${SRCDIR}
101    
102     # needed directories
103     minstalldir /usr/$(mlibdir)/xscreensaver || die
104     minstalldir /usr/share/gnome/capplets || die
105     minstalldir /usr/share/pixmaps || die
106    
107     mmake install_prefix=${BINDIR} install || die
108    
109     # pam stuff
110     minstallpam xscreensaver.pam xscreensaver || die
111    
112     minstalldocs README || die
113     }

Properties

Name Value
svn:keywords Id