wok-current view systemd/receipt @ rev 21195
systemd: replaced xattr/xattr.h by sys/xattr.h
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 06 09:20:09 2019 +0100 (2019-04-06) |
parents | 7414b1f7ec85 |
children | 50bf346f8ec6 |
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 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
36 ./configure \
37 --prefix=/usr \
38 --sysconfdir=/etc \
39 --localstatedir=/var \
40 --libexecdir=/usr/lib \
41 --with-sysvinit-path= \
42 --with-sysvrcd-path= \
43 --with-pci-ids-path=/usr/share/misc/pci.ids.gz \
44 --with-usb-ids-path=/usr/share/misc/usb.ids.gz \
45 --disable-ima \
46 --with-distro=other \
47 $CONFIGURE_ARGS &&
48 make -j 1 &&
49 make install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib
56 mkdir -p $fs/usr/share
58 cp -a $install/etc $fs
59 rm -rf $fs/etc/bash_*
60 cp -a $install/var $fs
61 cp -a $install/usr/bin $fs/usr
62 cp -a $install/usr/lib/*.so* $fs/usr/lib
63 cp -a $install/usr/lib/*d $fs/usr/lib
64 cp -a $install/usr/lib/udev $fs/usr/lib
66 mkdir -p $fs/usr/lib/security
67 cp -a $install/usr/share/*-1 $fs/usr/share
68 cp -a $install/usr/share/systemd $fs/usr/share
69 # For kernel opt: init=/bin/systemd
70 mkdir -p $fs/bin
71 cd $fs/bin && ln -s ../usr/lib/systemd/systemd systemd
72 }