2011-06-25 22:04:30 +02:00
|
|
|
# Template file for 'systemd'
|
|
|
|
pkgname=systemd
|
|
|
|
version=29
|
|
|
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.bz2"
|
|
|
|
build_style=gnu_configure
|
2011-06-26 16:35:05 +02:00
|
|
|
configure_args="--with-distro=gentoo --with-rootdir= --localstatedir=/var
|
2011-06-26 18:22:11 +02:00
|
|
|
--with-pamlibdir=/lib/security --disable-selinux
|
|
|
|
--with-sysvinit-path=/etc/init.d --with-sysvrcd-path=/etc/init.d"
|
2011-06-25 22:04:30 +02:00
|
|
|
short_desc="systemd is a system and service manager for Linux"
|
2011-07-17 08:27:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-25 22:19:34 +02:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
|
|
|
license="GPL-2"
|
2011-06-25 22:04:30 +02:00
|
|
|
checksum=c41153c3ebab9e25b16fa1670946ce6dfdd1515608a37eedd80d2bbe46629971
|
|
|
|
long_desc="
|
|
|
|
systemd is a system and service manager for Linux, compatible with SysV and LSB
|
|
|
|
init scripts. systemd provides aggressive parallelization capabilities, uses
|
|
|
|
socket and D-Bus activation for starting services, offers on-demand starting of
|
|
|
|
daemons, keeps track of processes using Linux cgroups, supports snapshotting and
|
|
|
|
restoring of the system state, maintains mount and automount points and
|
|
|
|
implements an elaborate transactional dependency-based service control logic.
|
2011-06-26 16:17:46 +02:00
|
|
|
It can work as a drop-in replacement for sysvinit."
|
2011-06-25 22:04:30 +02:00
|
|
|
|
2011-06-26 18:22:11 +02:00
|
|
|
system_groups="lock"
|
2011-06-26 16:35:05 +02:00
|
|
|
subpackages="systemd-admin systemd-gnome-passwd-agent systemd-devel"
|
2011-06-26 16:17:46 +02:00
|
|
|
conf_files="/etc/systemd/system.conf"
|
2011-06-25 22:04:30 +02:00
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libudev
|
2011-06-26 16:17:46 +02:00
|
|
|
Add_dependency run tcp_wrappers-libs
|
|
|
|
Add_dependency run pam
|
|
|
|
Add_dependency run libcap
|
|
|
|
Add_dependency run dbus-libs
|
2011-06-26 18:22:11 +02:00
|
|
|
Add_dependency run dbus
|
2011-06-25 22:04:30 +02:00
|
|
|
|
2011-06-26 16:17:46 +02:00
|
|
|
Add_dependency build m4
|
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build libudev-devel
|
|
|
|
Add_dependency build pam-devel
|
2011-06-25 22:04:30 +02:00
|
|
|
Add_dependency build dbus-devel
|
|
|
|
Add_dependency build libcap-devel
|
2011-06-26 16:17:46 +02:00
|
|
|
Add_dependency build tcp_wrappers-devel
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build gtk+-devel
|
2011-06-25 22:04:30 +02:00
|
|
|
Add_dependency build libnotify-devel
|
2011-06-26 16:17:46 +02:00
|
|
|
|
2011-06-26 18:22:11 +02:00
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
sed -i -e "s|/usr/bin/loadkeys|/sbin/loadkeys|g" Makefile.in
|
|
|
|
sed -i -e "s|/usr/bin/setfont|/sbin/setfont|g" Makefile.in
|
|
|
|
}
|
|
|
|
|
2011-06-26 16:17:46 +02:00
|
|
|
pre_install()
|
|
|
|
{
|
|
|
|
install -d ${DESTDIR}
|
|
|
|
ln -sf /lib ${DESTDIR}/lib64
|
|
|
|
}
|
2011-06-25 22:04:30 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-06-26 16:17:46 +02:00
|
|
|
rm -f ${DESTDIR}/lib64
|
2011-06-25 22:04:30 +02:00
|
|
|
cd ${DESTDIR}/usr/share/man/man8
|
|
|
|
for manpage in telinit halt reboot poweroff runlevel shutdown; do
|
2011-06-26 16:17:46 +02:00
|
|
|
mv ${manpage}.8 ${manpage}-systemd.8
|
2011-06-25 22:04:30 +02:00
|
|
|
done
|
2011-06-26 16:35:05 +02:00
|
|
|
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
2011-06-25 22:04:30 +02:00
|
|
|
}
|