# HG changeset patch # User Hans-G?nter Theisgen # Date 1554482761 -3600 # Node ID 4fdb154bc832f903a98af13be263ac983d2a56a4 # Parent d7b0fb9b6487324f45f00a1cef6db998d998235f systemd: added build dependency glibc-dev diff -r d7b0fb9b6487 -r 4fdb154bc832 systemd/receipt --- a/systemd/receipt Fri Apr 05 16:34:43 2019 +0100 +++ b/systemd/receipt Fri Apr 05 17:46:01 2019 +0100 @@ -6,16 +6,17 @@ SHORT_DESC="System and service manager for Linux." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2 LGPL2.1 MIT" +WEB_SITE="http://freedesktop.org/wiki/Software/systemd/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://freedesktop.org/wiki/Software/systemd/" WGET_URL="http://www.freedesktop.org/software/systemd/$TARBALL" + +DEPENDS="acl dbus glib kmod libcap pciutils usbutils util-linux-blkid" +BUILD_DEPENDS="acl-dev dbus-dev glib-dev glibc-dev gperf intltool \ + kmod-dev libcap-dev m4 pam-dev pciutils-dev pkg-config \ + usbutils-dev util-linux-blkid-dev util-linux-uuid-dev" PROVIDE="udev" -DEPENDS="dbus kmod libcap util-linux-blkid usbutils pciutils glib acl" -BUILD_DEPENDS="dbus-dev kmod-dev libcap-dev util-linux-blkid-dev usbutils-dev \ -pciutils-dev gperf glib-dev acl-dev intltool pkg-config m4 util-linux-uuid-dev \ -pam-dev" - # # Systemd include udev source and must be splitted. Systemd can replace the full # boot process and handle devices (with udisk) but is quiet heavy and compicated. @@ -29,35 +30,38 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --libexecdir=/usr/lib \ - --with-sysvinit-path= \ - --with-sysvrcd-path= \ - --with-pci-ids-path=/usr/share/misc/pci.ids.gz \ - --with-usb-ids-path=/usr/share/misc/usb.ids.gz \ - --disable-ima \ - --with-distro=other \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libexecdir=/usr/lib \ + --with-sysvinit-path= \ + --with-sysvrcd-path= \ + --with-pci-ids-path=/usr/share/misc/pci.ids.gz \ + --with-usb-ids-path=/usr/share/misc/usb.ids.gz \ + --disable-ima \ + --with-distro=other \ $CONFIGURE_ARGS && - make && make install + make -j 1 && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/etc $fs + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/share + + cp -a $install/etc $fs rm -rf $fs/etc/bash_* - cp -a $install/var $fs - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/*d $fs/usr/lib - cp -a $install/usr/lib/udev $fs/usr/lib + cp -a $install/var $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/*d $fs/usr/lib + cp -a $install/usr/lib/udev $fs/usr/lib + mkdir -p $fs/usr/lib/security - cp -a $install/usr/share/*-1 $fs/usr/share + cp -a $install/usr/share/*-1 $fs/usr/share cp -a $install/usr/share/systemd $fs/usr/share # For kernel opt: init=/bin/systemd mkdir -p $fs/bin