wok-6.x 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 | d7b0fb9b6487 |
children | 7414b1f7ec85 |
files | systemd/receipt |
line diff
1.1 --- a/systemd/receipt Fri Apr 05 16:34:43 2019 +0100 1.2 +++ b/systemd/receipt Fri Apr 05 17:46:01 2019 +0100 1.3 @@ -6,16 +6,17 @@ 1.4 SHORT_DESC="System and service manager for Linux." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 LICENSE="GPL2 LGPL2.1 MIT" 1.7 +WEB_SITE="http://freedesktop.org/wiki/Software/systemd/" 1.8 + 1.9 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.10 -WEB_SITE="http://freedesktop.org/wiki/Software/systemd/" 1.11 WGET_URL="http://www.freedesktop.org/software/systemd/$TARBALL" 1.12 + 1.13 +DEPENDS="acl dbus glib kmod libcap pciutils usbutils util-linux-blkid" 1.14 +BUILD_DEPENDS="acl-dev dbus-dev glib-dev glibc-dev gperf intltool \ 1.15 + kmod-dev libcap-dev m4 pam-dev pciutils-dev pkg-config \ 1.16 + usbutils-dev util-linux-blkid-dev util-linux-uuid-dev" 1.17 PROVIDE="udev" 1.18 1.19 -DEPENDS="dbus kmod libcap util-linux-blkid usbutils pciutils glib acl" 1.20 -BUILD_DEPENDS="dbus-dev kmod-dev libcap-dev util-linux-blkid-dev usbutils-dev \ 1.21 -pciutils-dev gperf glib-dev acl-dev intltool pkg-config m4 util-linux-uuid-dev \ 1.22 -pam-dev" 1.23 - 1.24 # 1.25 # Systemd include udev source and must be splitted. Systemd can replace the full 1.26 # boot process and handle devices (with udisk) but is quiet heavy and compicated. 1.27 @@ -29,35 +30,38 @@ 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - cd $src 1.32 - ./configure \ 1.33 - --prefix=/usr \ 1.34 - --sysconfdir=/etc \ 1.35 - --localstatedir=/var \ 1.36 - --libexecdir=/usr/lib \ 1.37 - --with-sysvinit-path= \ 1.38 - --with-sysvrcd-path= \ 1.39 - --with-pci-ids-path=/usr/share/misc/pci.ids.gz \ 1.40 - --with-usb-ids-path=/usr/share/misc/usb.ids.gz \ 1.41 - --disable-ima \ 1.42 - --with-distro=other \ 1.43 + ./configure \ 1.44 + --prefix=/usr \ 1.45 + --sysconfdir=/etc \ 1.46 + --localstatedir=/var \ 1.47 + --libexecdir=/usr/lib \ 1.48 + --with-sysvinit-path= \ 1.49 + --with-sysvrcd-path= \ 1.50 + --with-pci-ids-path=/usr/share/misc/pci.ids.gz \ 1.51 + --with-usb-ids-path=/usr/share/misc/usb.ids.gz \ 1.52 + --disable-ima \ 1.53 + --with-distro=other \ 1.54 $CONFIGURE_ARGS && 1.55 - make && make install 1.56 + make -j 1 && 1.57 + make install 1.58 } 1.59 1.60 # Rules to gen a SliTaz package suitable for Tazpkg. 1.61 genpkg_rules() 1.62 { 1.63 - mkdir -p $fs/usr/lib $fs/usr/share 1.64 - cp -a $install/etc $fs 1.65 + mkdir -p $fs/usr/lib 1.66 + mkdir -p $fs/usr/share 1.67 + 1.68 + cp -a $install/etc $fs 1.69 rm -rf $fs/etc/bash_* 1.70 - cp -a $install/var $fs 1.71 - cp -a $install/usr/bin $fs/usr 1.72 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.73 - cp -a $install/usr/lib/*d $fs/usr/lib 1.74 - cp -a $install/usr/lib/udev $fs/usr/lib 1.75 + cp -a $install/var $fs 1.76 + cp -a $install/usr/bin $fs/usr 1.77 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.78 + cp -a $install/usr/lib/*d $fs/usr/lib 1.79 + cp -a $install/usr/lib/udev $fs/usr/lib 1.80 + 1.81 mkdir -p $fs/usr/lib/security 1.82 - cp -a $install/usr/share/*-1 $fs/usr/share 1.83 + cp -a $install/usr/share/*-1 $fs/usr/share 1.84 cp -a $install/usr/share/systemd $fs/usr/share 1.85 # For kernel opt: init=/bin/systemd 1.86 mkdir -p $fs/bin