wok annotate systemd/receipt @ rev 15464
Add lcdnurse
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 07 10:05:15 2013 +0000 (2013-11-07) |
parents | 4aed2b24febc |
children | eb8067417980 |
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@13591 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@13591 | 9 WEB_SITE="http://freedesktop.org/wiki/Software/systemd/" |
pascal@13591 | 10 WGET_URL="http://www.freedesktop.org/software/systemd/$TARBALL" |
pascal@13591 | 11 PROVIDE="udev" |
pascal@13591 | 12 |
pascal@13591 | 13 DEPENDS="dbus kmod libcap util-linux-blkid usbutils pciutils glib acl" |
pascal@13591 | 14 BUILD_DEPENDS="dbus-dev kmod-dev libcap-dev util-linux-blkid-dev usbutils-dev \ |
pascal@15124 | 15 pciutils-dev gperf glib-dev acl-dev intltool pkg-config m4 util-linux-uuid-dev \ |
pascal@15124 | 16 pam-dev" |
pascal@13591 | 17 |
pascal@13591 | 18 # |
pascal@13591 | 19 # Systemd include udev source and must be splitted. Systemd can replace the full |
pascal@13591 | 20 # boot process and handle devices (with udisk) but is quiet heavy and compicated. |
pascal@13591 | 21 # Our goal is to have automounting of removable media, since hal is dead we must |
pascal@13591 | 22 # find/use an other way, but systemd-udisk-polkit and friends... seriously in SliTaz |
pascal@13591 | 23 # by default ? |
pascal@13591 | 24 # |
pascal@13591 | 25 # Actually we can have automount using the Kernel Polling feature and spacefm |
pascal@13591 | 26 # |
pascal@13591 | 27 |
pascal@13591 | 28 # Rules to configure and make the package. |
pascal@13591 | 29 compile_rules() |
pascal@13591 | 30 { |
pascal@13591 | 31 cd $src |
pascal@13591 | 32 ./configure \ |
pascal@13591 | 33 --prefix=/usr \ |
pascal@13591 | 34 --sysconfdir=/etc \ |
pascal@13591 | 35 --localstatedir=/var \ |
pascal@13591 | 36 --libexecdir=/usr/lib \ |
pascal@13591 | 37 --with-sysvinit-path= \ |
pascal@13591 | 38 --with-sysvrcd-path= \ |
pascal@13591 | 39 --with-pci-ids-path=/usr/share/misc/pci.ids.gz \ |
pascal@13591 | 40 --with-usb-ids-path=/usr/share/misc/usb.ids.gz \ |
pascal@13591 | 41 --disable-ima \ |
pascal@13591 | 42 --with-distro=other \ |
pascal@13591 | 43 $CONFIGURE_ARGS && |
pascal@13591 | 44 make && make install |
pascal@13591 | 45 } |
pascal@13591 | 46 |
pascal@13591 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 48 genpkg_rules() |
pascal@13591 | 49 { |
pascal@13591 | 50 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@13591 | 51 cp -a $install/etc $fs |
pascal@13591 | 52 rm -rf $fs/etc/bash_* |
pascal@13591 | 53 cp -a $install/var $fs |
pascal@13591 | 54 cp -a $install/usr/bin $fs/usr |
pascal@13591 | 55 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13591 | 56 cp -a $install/usr/lib/*d $fs/usr/lib |
pascal@13591 | 57 cp -a $install/usr/lib/udev $fs/usr/lib |
pascal@13591 | 58 mkdir -p $fs/usr/lib/security |
pascal@13591 | 59 cp -a $install/usr/share/*-1 $fs/usr/share |
pascal@13591 | 60 cp -a $install/usr/share/systemd $fs/usr/share |
pascal@13591 | 61 # For kernel opt: init=/bin/systemd |
pascal@13591 | 62 mkdir -p $fs/bin |
pascal@13591 | 63 cd $fs/bin && ln -s ../usr/lib/systemd/systemd systemd |
pascal@13591 | 64 } |