wok-next annotate systemd/receipt @ rev 21443
updated sarg (2.3.1 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 16:34:52 2020 +0100 (2020-05-05) |
parents | 10df65db91ad |
children |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="systemd" |
pascal@13591 | 4 VERSION="195" |
pascal@13591 | 5 CATEGORY="base-system" |
al@20534 | 6 SHORT_DESC="System and service manager for Linux" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2 LGPL2.1 MIT" |
al@21020 | 9 WEB_SITE="https://freedesktop.org/wiki/Software/systemd/" |
al@20534 | 10 |
pascal@13591 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@13591 | 12 WGET_URL="http://www.freedesktop.org/software/systemd/$TARBALL" |
pascal@13591 | 13 |
pascal@13591 | 14 BUILD_DEPENDS="dbus-dev kmod-dev libcap-dev util-linux-blkid-dev usbutils-dev \ |
al@20513 | 15 pciutils-dev gperf glib-dev acl-dev intltool m4 util-linux-uuid-dev \ |
pascal@15124 | 16 pam-dev" |
pascal@13591 | 17 |
pascal@13591 | 18 # |
pascal@13591 | 19 # Systemd include udev source and must be splitted. Systemd can replace the full |
pascal@13591 | 20 # boot process and handle devices (with udisk) but is quiet heavy and compicated. |
pascal@13591 | 21 # Our goal is to have automounting of removable media, since hal is dead we must |
pascal@13591 | 22 # find/use an other way, but systemd-udisk-polkit and friends... seriously in SliTaz |
pascal@13591 | 23 # by default ? |
pascal@13591 | 24 # |
pascal@13591 | 25 # Actually we can have automount using the Kernel Polling feature and spacefm |
pascal@13591 | 26 # |
pascal@13591 | 27 |
al@20534 | 28 compile_rules() { |
pascal@13591 | 29 ./configure \ |
pascal@13591 | 30 --libexecdir=/usr/lib \ |
pascal@13591 | 31 --with-sysvinit-path= \ |
pascal@13591 | 32 --with-sysvrcd-path= \ |
pascal@13591 | 33 --with-pci-ids-path=/usr/share/misc/pci.ids.gz \ |
pascal@13591 | 34 --with-usb-ids-path=/usr/share/misc/usb.ids.gz \ |
pascal@13591 | 35 --disable-ima \ |
pascal@13591 | 36 --with-distro=other \ |
pascal@13591 | 37 $CONFIGURE_ARGS && |
al@20604 | 38 fix libtool && |
al@20534 | 39 make && |
al@20534 | 40 make install || return 1 |
al@20534 | 41 |
al@20534 | 42 # For kernel opt: init=/bin/systemd |
al@20534 | 43 mkdir -p $fs/bin |
al@20534 | 44 ln -s ../usr/lib/systemd/systemd $fs/bin/systemd |
pascal@13591 | 45 } |
pascal@13591 | 46 |
al@20534 | 47 genpkg_rules() { |
al@20534 | 48 copy @std |
al@20534 | 49 DEPENDS="dbus kmod libcap util-linux-blkid usbutils pciutils glib acl" |
al@20534 | 50 PROVIDE="udev" |
pascal@13591 | 51 } |