Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6671 - (show annotations) (download)
Wed Sep 15 14:05:27 2010 UTC (13 years, 8 months ago) by niro
File size: 1384 byte(s)
auto added: ver bump to 9-r2
1 # $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-rootdir=/ \
62 --enable-gtk \
63 --enable-pam \
64 --enable-tcpwrap \
65 --disable-audit \
66 --disable-selinux \
67 || die
68
69 mmake || die
70 }