wok-6.x view systemd/receipt @ rev 15285

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