wok-next view 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
line source
1 # SliTaz package receipt v2.
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 BUILD_DEPENDS="dbus-dev kmod-dev libcap-dev util-linux-blkid-dev usbutils-dev \
15 pciutils-dev gperf glib-dev acl-dev intltool m4 util-linux-uuid-dev \
16 pam-dev"
18 #
19 # Systemd include udev source and must be splitted. Systemd can replace the full
20 # boot process and handle devices (with udisk) but is quiet heavy and compicated.
21 # Our goal is to have automounting of removable media, since hal is dead we must
22 # find/use an other way, but systemd-udisk-polkit and friends... seriously in SliTaz
23 # by default ?
24 #
25 # Actually we can have automount using the Kernel Polling feature and spacefm
26 #
28 compile_rules() {
29 ./configure \
30 --libexecdir=/usr/lib \
31 --with-sysvinit-path= \
32 --with-sysvrcd-path= \
33 --with-pci-ids-path=/usr/share/misc/pci.ids.gz \
34 --with-usb-ids-path=/usr/share/misc/usb.ids.gz \
35 --disable-ima \
36 --with-distro=other \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install || return 1
41 # For kernel opt: init=/bin/systemd
42 mkdir -p $fs/bin
43 ln -s ../usr/lib/systemd/systemd $fs/bin/systemd
44 }
46 genpkg_rules() {
47 copy @std
48 DEPENDS="dbus kmod libcap util-linux-blkid usbutils pciutils glib acl"
49 PROVIDE="udev"
50 }