wok-next annotate systemd/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | d43bf7aae921 |
children | 10df65db91ad |
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" |
pascal@13591 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2 LGPL2.1 MIT" |
al@20534 | 9 WEB_SITE="http://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@20534 | 38 make && |
al@20534 | 39 make install || return 1 |
al@20534 | 40 |
al@20534 | 41 # For kernel opt: init=/bin/systemd |
al@20534 | 42 mkdir -p $fs/bin |
al@20534 | 43 ln -s ../usr/lib/systemd/systemd $fs/bin/systemd |
pascal@13591 | 44 } |
pascal@13591 | 45 |
al@20534 | 46 genpkg_rules() { |
al@20534 | 47 copy @std |
al@20534 | 48 DEPENDS="dbus kmod libcap util-linux-blkid usbutils pciutils glib acl" |
al@20534 | 49 PROVIDE="udev" |
pascal@13591 | 50 } |