wok-current view systemd/receipt @ rev 23159
updated lyx, lyx-doc lyx-examples and lyx-locales again (2.0.5.1 -> 2.3.4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 17 14:10:48 2020 +0100 (2020-03-17) |
parents | 50bf346f8ec6 |
children | 934055de50e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="systemd"
4 VERSION="195"
5 CATEGORY="base-system"
6 SHORT_DESC="System and service manager for Linux."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 LGPL2.1 MIT"
9 WEB_SITE="http://freedesktop.org/wiki/Software/systemd/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://www.freedesktop.org/software/systemd/$TARBALL"
14 DEPENDS="acl dbus glib kmod libcap libwrap pam pciutils usbutils util-linux-blkid"
15 BUILD_DEPENDS="acl-dev dbus-dev glib-dev glibc-dev gperf intltool \
16 kmod-dev libcap-dev m4 pam-dev pciutils-dev pkg-config \
17 usbutils-dev util-linux-blkid-dev util-linux-uuid-dev"
18 PROVIDE="udev"
20 #
21 # Systemd include udev source and must be splitted. Systemd can replace the full
22 # boot process and handle devices (with udisk) but is quite heavy and complicated.
23 # Our goal is to have automounting of removable media, since hal is dead we must
24 # use another way, but systemd-udisk-polkit and friends... seriously in SliTaz
25 # by default ?
26 #
27 # Actually we can have automount using the Kernel Polling feature and spacefm
28 #
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 patch --strip=0 --input=$stuff/systemd-195.journal-file.c.patch \
34 src/journal/journal-file.c
35 patch --strip=0 --input=$stuff/systemd-195.journal-vacuum.c.patch \
36 src/journal/journal-vacuum.c
38 ./configure \
39 --prefix=/usr \
40 --sysconfdir=/etc \
41 --localstatedir=/var \
42 --libexecdir=/usr/lib \
43 --with-sysvinit-path= \
44 --with-sysvrcd-path= \
45 --with-pci-ids-path=/usr/share/misc/pci.ids.gz \
46 --with-usb-ids-path=/usr/share/misc/usb.ids.gz \
47 --disable-ima \
48 --with-distro=other \
49 $CONFIGURE_ARGS &&
50 make -j 1 &&
51 make install
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/lib
58 mkdir -p $fs/usr/share
60 cp -a $install/etc $fs
61 rm -rf $fs/etc/bash_*
62 cp -a $install/var $fs
63 cp -a $install/usr/bin $fs/usr
64 cp -a $install/usr/lib/*.so* $fs/usr/lib
65 cp -a $install/usr/lib/*d $fs/usr/lib
66 cp -a $install/usr/lib/udev $fs/usr/lib
68 mkdir -p $fs/usr/lib/security
69 cp -a $install/usr/share/*-1 $fs/usr/share
70 cp -a $install/usr/share/systemd $fs/usr/share
71 # For kernel opt: init=/bin/systemd
72 mkdir -p $fs/bin
73 cd $fs/bin && ln -s ../usr/lib/systemd/systemd systemd
74 }