wok annotate systemd/receipt @ rev 14049

gst-python, parole: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 21:32:21 2013 +0100 (2013-02-18)
parents
children ea938389991c
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@13591 15 pciutils-dev gperf glib-dev acl-dev intltool pkg-config m4 util-linux-uuid-dev"
pascal@13591 16
pascal@13591 17 #
pascal@13591 18 # Systemd include udev source and must be splitted. Systemd can replace the full
pascal@13591 19 # boot process and handle devices (with udisk) but is quiet heavy and compicated.
pascal@13591 20 # Our goal is to have automounting of removable media, since hal is dead we must
pascal@13591 21 # find/use an other way, but systemd-udisk-polkit and friends... seriously in SliTaz
pascal@13591 22 # by default ?
pascal@13591 23 #
pascal@13591 24 # Actually we can have automount using the Kernel Polling feature and spacefm
pascal@13591 25 #
pascal@13591 26
pascal@13591 27 # Rules to configure and make the package.
pascal@13591 28 compile_rules()
pascal@13591 29 {
pascal@13591 30 cd $src
pascal@13591 31 ./configure \
pascal@13591 32 --prefix=/usr \
pascal@13591 33 --sysconfdir=/etc \
pascal@13591 34 --localstatedir=/var \
pascal@13591 35 --libexecdir=/usr/lib \
pascal@13591 36 --with-sysvinit-path= \
pascal@13591 37 --with-sysvrcd-path= \
pascal@13591 38 --with-pci-ids-path=/usr/share/misc/pci.ids.gz \
pascal@13591 39 --with-usb-ids-path=/usr/share/misc/usb.ids.gz \
pascal@13591 40 --disable-ima \
pascal@13591 41 --with-distro=other \
pascal@13591 42 $CONFIGURE_ARGS &&
pascal@13591 43 make && make install
pascal@13591 44 }
pascal@13591 45
pascal@13591 46 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 47 genpkg_rules()
pascal@13591 48 {
pascal@13591 49 mkdir -p $fs/usr/lib $fs/usr/share
pascal@13591 50 cp -a $install/etc $fs
pascal@13591 51 rm -rf $fs/etc/bash_*
pascal@13591 52 cp -a $install/var $fs
pascal@13591 53 cp -a $install/usr/bin $fs/usr
pascal@13591 54 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13591 55 cp -a $install/usr/lib/*d $fs/usr/lib
pascal@13591 56 cp -a $install/usr/lib/udev $fs/usr/lib
pascal@13591 57 mkdir -p $fs/usr/lib/security
pascal@13591 58 cp -a $install/usr/share/*-1 $fs/usr/share
pascal@13591 59 cp -a $install/usr/share/systemd $fs/usr/share
pascal@13591 60 # For kernel opt: init=/bin/systemd
pascal@13591 61 mkdir -p $fs/bin
pascal@13591 62 cd $fs/bin && ln -s ../usr/lib/systemd/systemd systemd
pascal@13591 63 }