systemd: split libudev into an independent pkg and move systemd-{devel,libs} to it.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
# Template file for 'libudev-devel'.
|
||||
#
|
||||
noarch=yes
|
||||
depends="libudev"
|
||||
short_desc="udev shared library -- development files"
|
||||
long_desc="
|
||||
This package contains the files needed for developing applications
|
||||
that use libudev."
|
||||
|
||||
do_install() {
|
||||
vmove usr/include/libudev.h usr/include
|
||||
vmove usr/lib/pkgconfig/libudev.pc usr/lib/pkgconfig
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
# Template file for 'libudev'.
|
||||
#
|
||||
short_desc="udev shared library"
|
||||
long_desc="
|
||||
udev is a daemon which dynamically creates and removes device nodes from
|
||||
/dev/, handles hotplug events and loads drivers at boot time.
|
||||
|
||||
This library provides access to udev device information."
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/libudev.so*" usr/lib
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
# Template file for 'systemd-devel'.
|
||||
#
|
||||
depends="systemd-libs>=${version}"
|
||||
short_desc="${sourcepkg} - development files"
|
||||
noarch=yes
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
vmove usr/share/man/man3 usr/share/man
|
||||
vmove usr/share/doc usr/share
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
# Template file for 'systemd'
|
||||
pkgname=systemd
|
||||
version=197
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--libexecdir=/usr/lib
|
||||
--disable-selinux --disable-tcpwrap --with-rootprefix=/usr
|
||||
@@ -11,7 +11,7 @@ depends="dbus run-parts kbd libcap-progs"
|
||||
makedepends="pkg-config intltool gperf libxslt docbook-xsl acl-devel pam-devel
|
||||
dbus-devel libcap-devel libkmod-devel liblzma-devel cryptsetup-devel
|
||||
libblkid-devel glib-devel libgcrypt-devel python-devel qrencode-devel
|
||||
gobject-introspection"
|
||||
gobject-introspection which"
|
||||
short_desc="A system and service manager for Linux"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
||||
@@ -20,9 +20,7 @@ distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz
|
||||
checksum=e6857ea21ae24d7056e7b0f4c2aaaba73b8bf57025b8949c0a8af0c1bc9774b5
|
||||
|
||||
replaces="nss-myhostname>=0"
|
||||
|
||||
subpackages="libudev libudev-devel libgudev libgudev-devel
|
||||
systemd-analyze systemd-devel systemd-libs systemd-python"
|
||||
subpackages="libgudev libgudev-devel systemd-analyze systemd-python"
|
||||
|
||||
conf_files="
|
||||
/etc/hostname
|
||||
@@ -35,6 +33,13 @@ conf_files="
|
||||
/etc/udev/udev.conf"
|
||||
|
||||
post_install() {
|
||||
# Remove files provided in libudev{,-devel} and systemd-{devel,libs}.
|
||||
rm -rf ${DESTDIR}/usr/include/{libudev.h,systemd}
|
||||
rm -rf ${DESTDIR}/usr/share/pkgconfig
|
||||
rm -rf ${DESTDIR}/usr/share/man/man3
|
||||
rm -f ${DESTDIR}/usr/lib/lib{udev,systemd}*
|
||||
rm -f ${DESTDIR}/usr/lib/pkgconfig/lib{udev,systemd}*
|
||||
|
||||
vinstall ${FILESDIR}/hostname 644 etc
|
||||
vinstall ${FILESDIR}/vconsole.conf 644 etc
|
||||
vinstall ${FILESDIR}/os-release 644 etc
|
||||
|
||||
Reference in New Issue
Block a user