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