wok-current annotate systemd/receipt @ rev 21193

systemd: added build dependency glibc-dev
author Hans-G?nter Theisgen
date Fri Apr 05 17:46:01 2019 +0100 (2019-04-05)
parents eb8067417980
children 7414b1f7ec85
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@21193 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
pascal@13591 22 # boot process and handle devices (with udisk) but is quiet heavy and compicated.
pascal@13591 23 # Our goal is to have automounting of removable media, since hal is dead we must
pascal@13591 24 # find/use an other 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@21193 33 ./configure \
Hans-G?nter@21193 34 --prefix=/usr \
Hans-G?nter@21193 35 --sysconfdir=/etc \
Hans-G?nter@21193 36 --localstatedir=/var \
Hans-G?nter@21193 37 --libexecdir=/usr/lib \
Hans-G?nter@21193 38 --with-sysvinit-path= \
Hans-G?nter@21193 39 --with-sysvrcd-path= \
Hans-G?nter@21193 40 --with-pci-ids-path=/usr/share/misc/pci.ids.gz \
Hans-G?nter@21193 41 --with-usb-ids-path=/usr/share/misc/usb.ids.gz \
Hans-G?nter@21193 42 --disable-ima \
Hans-G?nter@21193 43 --with-distro=other \
pascal@13591 44 $CONFIGURE_ARGS &&
Hans-G?nter@21193 45 make -j 1 &&
Hans-G?nter@21193 46 make install
pascal@13591 47 }
pascal@13591 48
pascal@13591 49 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 50 genpkg_rules()
pascal@13591 51 {
Hans-G?nter@21193 52 mkdir -p $fs/usr/lib
Hans-G?nter@21193 53 mkdir -p $fs/usr/share
Hans-G?nter@21193 54
Hans-G?nter@21193 55 cp -a $install/etc $fs
pascal@13591 56 rm -rf $fs/etc/bash_*
Hans-G?nter@21193 57 cp -a $install/var $fs
Hans-G?nter@21193 58 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21193 59 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21193 60 cp -a $install/usr/lib/*d $fs/usr/lib
Hans-G?nter@21193 61 cp -a $install/usr/lib/udev $fs/usr/lib
Hans-G?nter@21193 62
pascal@13591 63 mkdir -p $fs/usr/lib/security
Hans-G?nter@21193 64 cp -a $install/usr/share/*-1 $fs/usr/share
pascal@13591 65 cp -a $install/usr/share/systemd $fs/usr/share
pascal@13591 66 # For kernel opt: init=/bin/systemd
pascal@13591 67 mkdir -p $fs/bin
pascal@13591 68 cd $fs/bin && ln -s ../usr/lib/systemd/systemd systemd
pascal@13591 69 }