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