Magellan Linux

Annotation of /branches/magellan-next/core/systemd/systemd-9-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6670 - (hide annotations) (download)
Wed Sep 15 13:56:46 2010 UTC (13 years, 8 months ago) by niro
File size: 1655 byte(s)
auto added: ver bump to 9-r2
1 niro 6670 # $Id$
2    
3     PNAME="systemd"
4     PVER="9"
5     PBUILD="r2"
6    
7     PCATEGORIE="sys-apps"
8     STATE="unstable"
9    
10     DESCRIPTION="System and Session Manager."
11     HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
12    
13     DEPEND=">= sys-apps/dbus-1.4.0
14     >= sys-fs/udev-162
15     >= dev-libs/dbus-glib-0.88
16     >= sys-apps/sysvinit-2.88
17     >= sys-apps/tcp-wrappers-7.6
18     >= sys-libs/pam-1.1
19     >= sys-libs/libcap-2.19"
20    
21     SDEPEND=">= app-text/docbook-xsl-stylesheets-1.76
22     >= x11-libs/gtk2+-2.20
23     >= dev-libs/libcgroup-0.36.2
24     >= dev-libs/libxslt-1.1.26
25     >= dev-lang/vala-0.9.8
26     >= virtual/kernel-headers"
27    
28     SRCFILE="${PNAME}-${PVER}.tar.bz2"
29     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
30    
31     sminclude mbuild
32    
33     SRC_URI=(
34     http://www.freedesktop.org/software/${PNAME}/${SRCFILE}
35     mirror://${PNAME}/${SRCFILE}
36     mirror://${PNAME}/${PNAME}-${PVER}-magellan.patch
37     )
38    
39     UP2DATE="updatecmd http://www.freedesktop.org/software/systemd/ | lasttarball"
40    
41     src_prepare()
42     {
43     munpack ${SRCFILE} || die
44     cd ${SRCDIR}
45    
46     # apply our magellan patch
47     mpatch ${PNAME}-${PVER}-magellan.patch || die
48    
49     # regen configure
50     autoreconf --verbose --install --force || die
51     }
52    
53     src_compile()
54     {
55     cd ${SRCDIR}
56    
57     mconfigure \
58     --with-distro=magellan \
59     --libexecdir=/usr/$(mlibdir)/${PNAME} \
60     --with-pamlibdir=/$(mlibdir)/security \
61     --with-udevrulesdir=/lib/udev/rules.d \
62     --with-dbuspolicydir=/etc/dbus-1/system.d \
63     --with-dbussessionservicedir=/usr/share/dbus-1/services \
64     --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
65     --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
66     --with-rootdir=/ \
67     --enable-gtk \
68     --enable-pam \
69     --enable-tcpwrap \
70     --disable-audit \
71     --disable-selinux \
72     || die
73    
74     mmake || die
75     }