systemd: add -devel subpkg, move manpages to subpkgs, emul gentoo.
This commit is contained in:
parent
b52f55b087
commit
41b63ac91c
5 changed files with 26 additions and 4 deletions
1
srcpkgs/systemd-devel
Symbolic link
1
srcpkgs/systemd-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
systemd
|
|
@ -12,6 +12,8 @@ Add_dependency run systemd
|
|||
|
||||
do_install()
|
||||
{
|
||||
install -d ${DESTDIR}/usr/bin
|
||||
install -d ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/man/man1
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/systemadm ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/systemadm* \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
}
|
||||
|
|
16
srcpkgs/systemd/systemd-devel.template
Normal file
16
srcpkgs/systemd/systemd-devel.template
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'systemd-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} - development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains development files and/or documentation."
|
||||
|
||||
noarch=yes
|
||||
|
||||
do_install()
|
||||
{
|
||||
install -d ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
||||
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
|
||||
}
|
|
@ -14,6 +14,8 @@ Add_dependency run systemd
|
|||
|
||||
do_install()
|
||||
{
|
||||
install -d ${DESTDIR}/usr/bin
|
||||
install -d ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/man/man1
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/systemd-gnome* ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/share/man/man1/systemd-ask-* \
|
||||
${DESTDIR}/usr/share/man/man1
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ pkgname=systemd
|
|||
version=29
|
||||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--with-distro=other --with-rootdir= --localstatedir=/var
|
||||
configure_args="--with-distro=gentoo --with-rootdir= --localstatedir=/var
|
||||
--with-pamlibdir=/lib/security --disable-selinux"
|
||||
short_desc="systemd is a system and service manager for Linux"
|
||||
maintainer="Mike Rosset <mike.rosset@gmail.com>"
|
||||
|
@ -19,7 +19,7 @@ long_desc="
|
|||
implements an elaborate transactional dependency-based service control logic.
|
||||
It can work as a drop-in replacement for sysvinit."
|
||||
|
||||
subpackages="systemd-admin systemd-gnome-passwd-agent"
|
||||
subpackages="systemd-admin systemd-gnome-passwd-agent systemd-devel"
|
||||
conf_files="/etc/systemd/system.conf"
|
||||
|
||||
Add_dependency run glibc
|
||||
|
@ -53,4 +53,5 @@ post_install()
|
|||
for manpage in telinit halt reboot poweroff runlevel shutdown; do
|
||||
mv ${manpage}.8 ${manpage}-systemd.8
|
||||
done
|
||||
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue