systemd: new -libs subpkg; make -devel depend on it, revbump.

This commit is contained in:
Juan RP 2012-02-18 23:05:32 +01:00
parent 68bab1f84b
commit ae8cd3caef
8 changed files with 36 additions and 3 deletions

View file

@ -953,3 +953,7 @@ libbind9.so.80 bind-libs bind-devel
libisccfg.so.82 bind-libs bind-devel libisccfg.so.82 bind-libs bind-devel
libisc.so.83 bind-libs bind-devel libisc.so.83 bind-libs bind-devel
libisccc.so.80 bind-libs bind-devel libisccc.so.80 bind-libs bind-devel
libsystemd-daemon.so.0 systemd-libs systemd-devel
libsystemd-id128.so.0 systemd-libs systemd-devel
libsystemd-journal.so.0 systemd-libs systemd-devel
libsystemd-login.so.0 systemd-libs systemd-devel

1
srcpkgs/systemd-libs Symbolic link
View file

@ -0,0 +1 @@
systemd

2
srcpkgs/systemd/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=43"
api_depends="${abi_depends}"

View file

@ -5,10 +5,11 @@ long_desc="${long_desc}
This package contains development files and/or documentation." This package contains development files and/or documentation."
revision=1
noarch=yes noarch=yes
Add_dependency run systemd-libs
do_install() do_install() {
{
vmove usr/include usr vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib vmove usr/lib/pkgconfig usr/lib
vmove usr/share/man/man3 usr/share/man vmove usr/share/man/man3 usr/share/man

View file

@ -0,0 +1,6 @@
libdl.so.2
librt.so.1
libc.so.6
libcap.so.2
ld-linux-x86-64.so.2
liblzma.so.5

View file

@ -0,0 +1,12 @@
# Template file for 'systemd-libs'.
#
short_desc="${sourcepkg} - runtime libraries"
long_desc="${long_desc}
This package contains the runtime libraries."
replaces="systemd<43_1"
do_install() {
vmove "usr/lib/*.so*" usr/lib
}

View file

@ -12,3 +12,7 @@ libpam_misc.so.0
ld-linux-x86-64.so.2 ld-linux-x86-64.so.2
liblzma.so.5 liblzma.so.5
libkmod.so.2 libkmod.so.2
libsystemd-daemon.so.0
libsystemd-journal.so.0
libsystemd-login.so.0
libsystemd-id128.so.0

View file

@ -1,6 +1,7 @@
# Template file for 'systemd' # Template file for 'systemd'
pkgname=systemd pkgname=systemd
version=43 version=43
revision=1
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz" distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-distro=other --with-rootprefix= configure_args="--with-distro=other --with-rootprefix=
@ -20,7 +21,9 @@ long_desc="
implements an elaborate transactional dependency-based service control logic. implements an elaborate transactional dependency-based service control logic.
It can work as a drop-in replacement for sysvinit." It can work as a drop-in replacement for sysvinit."
subpackages="systemd-admin systemd-analyze systemd-gnome-passwd-agent systemd-devel" subpackages="systemd-admin systemd-analyze systemd-gnome-passwd-agent"
subpackages="${subpackages} systemd-devel systemd-libs"
system_groups="lock" system_groups="lock"
conf_files=" conf_files="