wok-next diff systemd/receipt @ rev 13919
netkit-rsh: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 25 17:08:55 2013 +0100 (2013-01-25) |
parents | |
children | ea938389991c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/systemd/receipt Fri Jan 25 17:08:55 2013 +0100 1.3 @@ -0,0 +1,63 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="systemd" 1.7 +VERSION="195" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="System and service manager for Linux." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.12 +WEB_SITE="http://freedesktop.org/wiki/Software/systemd/" 1.13 +WGET_URL="http://www.freedesktop.org/software/systemd/$TARBALL" 1.14 +PROVIDE="udev" 1.15 + 1.16 +DEPENDS="dbus kmod libcap util-linux-blkid usbutils pciutils glib acl" 1.17 +BUILD_DEPENDS="dbus-dev kmod-dev libcap-dev util-linux-blkid-dev usbutils-dev \ 1.18 +pciutils-dev gperf glib-dev acl-dev intltool pkg-config m4 util-linux-uuid-dev" 1.19 + 1.20 +# 1.21 +# Systemd include udev source and must be splitted. Systemd can replace the full 1.22 +# boot process and handle devices (with udisk) but is quiet heavy and compicated. 1.23 +# Our goal is to have automounting of removable media, since hal is dead we must 1.24 +# find/use an other way, but systemd-udisk-polkit and friends... seriously in SliTaz 1.25 +# by default ? 1.26 +# 1.27 +# Actually we can have automount using the Kernel Polling feature and spacefm 1.28 +# 1.29 + 1.30 +# Rules to configure and make the package. 1.31 +compile_rules() 1.32 +{ 1.33 + cd $src 1.34 + ./configure \ 1.35 + --prefix=/usr \ 1.36 + --sysconfdir=/etc \ 1.37 + --localstatedir=/var \ 1.38 + --libexecdir=/usr/lib \ 1.39 + --with-sysvinit-path= \ 1.40 + --with-sysvrcd-path= \ 1.41 + --with-pci-ids-path=/usr/share/misc/pci.ids.gz \ 1.42 + --with-usb-ids-path=/usr/share/misc/usb.ids.gz \ 1.43 + --disable-ima \ 1.44 + --with-distro=other \ 1.45 + $CONFIGURE_ARGS && 1.46 + make && make install 1.47 +} 1.48 + 1.49 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.50 +genpkg_rules() 1.51 +{ 1.52 + mkdir -p $fs/usr/lib $fs/usr/share 1.53 + cp -a $install/etc $fs 1.54 + rm -rf $fs/etc/bash_* 1.55 + cp -a $install/var $fs 1.56 + cp -a $install/usr/bin $fs/usr 1.57 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.58 + cp -a $install/usr/lib/*d $fs/usr/lib 1.59 + cp -a $install/usr/lib/udev $fs/usr/lib 1.60 + mkdir -p $fs/usr/lib/security 1.61 + cp -a $install/usr/share/*-1 $fs/usr/share 1.62 + cp -a $install/usr/share/systemd $fs/usr/share 1.63 + # For kernel opt: init=/bin/systemd 1.64 + mkdir -p $fs/bin 1.65 + cd $fs/bin && ln -s ../usr/lib/systemd/systemd systemd 1.66 +}