wok-next view systemd/receipt @ rev 21168

New package asciidoctor
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 25 12:22:25 2019 +0200 (2019-03-25)
parents 10df65db91ad
children
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="devel@slitaz.org"
8 LICENSE="GPL2 LGPL2.1 MIT"
9 WEB_SITE="https://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 fix libtool &&
39 make &&
40 make install || return 1
42 # For kernel opt: init=/bin/systemd
43 mkdir -p $fs/bin
44 ln -s ../usr/lib/systemd/systemd $fs/bin/systemd
45 }
47 genpkg_rules() {
48 copy @std
49 DEPENDS="dbus kmod libcap util-linux-blkid usbutils pciutils glib acl"
50 PROVIDE="udev"
51 }