wok-6.x view systemd/receipt @ rev 21194
systemd: corrected build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 05 17:53:25 2019 +0100 (2019-04-05) |
parents | 4fdb154bc832 |
children | 7e450318d2cc |
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 quiet heavy and compicated.
23 # Our goal is to have automounting of removable media, since hal is dead we must
24 # find/use an other 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 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 --localstatedir=/var \
37 --libexecdir=/usr/lib \
38 --with-sysvinit-path= \
39 --with-sysvrcd-path= \
40 --with-pci-ids-path=/usr/share/misc/pci.ids.gz \
41 --with-usb-ids-path=/usr/share/misc/usb.ids.gz \
42 --disable-ima \
43 --with-distro=other \
44 $CONFIGURE_ARGS &&
45 make -j 1 &&
46 make install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib
53 mkdir -p $fs/usr/share
55 cp -a $install/etc $fs
56 rm -rf $fs/etc/bash_*
57 cp -a $install/var $fs
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/usr/lib/*.so* $fs/usr/lib
60 cp -a $install/usr/lib/*d $fs/usr/lib
61 cp -a $install/usr/lib/udev $fs/usr/lib
63 mkdir -p $fs/usr/lib/security
64 cp -a $install/usr/share/*-1 $fs/usr/share
65 cp -a $install/usr/share/systemd $fs/usr/share
66 # For kernel opt: init=/bin/systemd
67 mkdir -p $fs/bin
68 cd $fs/bin && ln -s ../usr/lib/systemd/systemd systemd
69 }