wok-current annotate systemd/receipt @ rev 21904

updated shaarlo ( -> 0.3.1)
author Hans-G?nter Theisgen
date Fri Oct 04 13:53:43 2019 +0100 (2019-10-04)
parents 7e450318d2cc
children 2d2aa67a5236
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="systemd"
pascal@13591 4 VERSION="195"
pascal@13591 5 CATEGORY="base-system"
pascal@13591 6 SHORT_DESC="System and service manager for Linux."
pascal@13591 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL2 LGPL2.1 MIT"
Hans-G?nter@21193 9 WEB_SITE="http://freedesktop.org/wiki/Software/systemd/"
Hans-G?nter@21193 10
pascal@13591 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@13591 12 WGET_URL="http://www.freedesktop.org/software/systemd/$TARBALL"
Hans-G?nter@21193 13
Hans-G?nter@21193 14 DEPENDS="acl dbus glib kmod libcap pciutils usbutils util-linux-blkid"
Hans-G?nter@21193 15 BUILD_DEPENDS="acl-dev dbus-dev glib-dev glibc-dev gperf intltool \
Hans-G?nter@21194 16 kmod-dev libcap-dev m4 pam-dev pciutils-dev pkg-config \
Hans-G?nter@21193 17 usbutils-dev util-linux-blkid-dev util-linux-uuid-dev"
pascal@13591 18 PROVIDE="udev"
pascal@13591 19
pascal@13591 20 #
pascal@13591 21 # Systemd include udev source and must be splitted. Systemd can replace the full
Hans-G?nter@21195 22 # boot process and handle devices (with udisk) but is quite heavy and complicated.
pascal@13591 23 # Our goal is to have automounting of removable media, since hal is dead we must
Hans-G?nter@21195 24 # use another way, but systemd-udisk-polkit and friends... seriously in SliTaz
pascal@13591 25 # by default ?
pascal@13591 26 #
pascal@13591 27 # Actually we can have automount using the Kernel Polling feature and spacefm
pascal@13591 28 #
pascal@13591 29
pascal@13591 30 # Rules to configure and make the package.
pascal@13591 31 compile_rules()
pascal@13591 32 {
Hans-G?nter@21195 33 patch --strip=0 --input=$stuff/systemd-195.journal-file.c.patch \
Hans-G?nter@21195 34 src/journal/journal-file.c
Hans-G?nter@21197 35 patch --strip=0 --input=$stuff/systemd-195.journal-vacuum.c.patch \
Hans-G?nter@21197 36 src/journal/journal-vacuum.c
Hans-G?nter@21195 37
Hans-G?nter@21193 38 ./configure \
Hans-G?nter@21193 39 --prefix=/usr \
Hans-G?nter@21193 40 --sysconfdir=/etc \
Hans-G?nter@21193 41 --localstatedir=/var \
Hans-G?nter@21193 42 --libexecdir=/usr/lib \
Hans-G?nter@21193 43 --with-sysvinit-path= \
Hans-G?nter@21193 44 --with-sysvrcd-path= \
Hans-G?nter@21193 45 --with-pci-ids-path=/usr/share/misc/pci.ids.gz \
Hans-G?nter@21193 46 --with-usb-ids-path=/usr/share/misc/usb.ids.gz \
Hans-G?nter@21193 47 --disable-ima \
Hans-G?nter@21193 48 --with-distro=other \
pascal@13591 49 $CONFIGURE_ARGS &&
Hans-G?nter@21193 50 make -j 1 &&
Hans-G?nter@21193 51 make install
pascal@13591 52 }
pascal@13591 53
pascal@13591 54 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 55 genpkg_rules()
pascal@13591 56 {
Hans-G?nter@21193 57 mkdir -p $fs/usr/lib
Hans-G?nter@21193 58 mkdir -p $fs/usr/share
Hans-G?nter@21193 59
Hans-G?nter@21193 60 cp -a $install/etc $fs
pascal@13591 61 rm -rf $fs/etc/bash_*
Hans-G?nter@21193 62 cp -a $install/var $fs
Hans-G?nter@21193 63 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21193 64 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21193 65 cp -a $install/usr/lib/*d $fs/usr/lib
Hans-G?nter@21193 66 cp -a $install/usr/lib/udev $fs/usr/lib
Hans-G?nter@21193 67
pascal@13591 68 mkdir -p $fs/usr/lib/security
Hans-G?nter@21193 69 cp -a $install/usr/share/*-1 $fs/usr/share
pascal@13591 70 cp -a $install/usr/share/systemd $fs/usr/share
pascal@13591 71 # For kernel opt: init=/bin/systemd
pascal@13591 72 mkdir -p $fs/bin
pascal@13591 73 cd $fs/bin && ln -s ../usr/lib/systemd/systemd systemd
pascal@13591 74 }