1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
31 PKG_MAINTAINER = Stefan Schantl <stefan.schantl@ipfire.org>
32 PKG_GROUP = System/Base
33 PKG_URL = http://upstart.ubuntu.com/
35 PKG_SUMMARY = An event-driven init system.
37 PKG_BUILD_DEPS+= autoconf automake coreutils dbus-devel libnih-devel libtool \
38 libudev-devel pkg-config
41 define PKG_DESCRIPTION
42 Upstart is an event-based replacement for the /sbin/init daemon \
43 which handles starting of tasks and services during boot, \
44 stopping them during shutdown and supervising them while the \
48 PKG_TARBALL = $(THISAPP).tar.gz
50 CONFIGURE_OPTIONS += \
55 define STAGE_PREPARE_CMDS
56 cd $(DIR_APP) && libtoolize
57 cd $(DIR_APP) && autoreconf --force
62 # cd $(DIR_APP) && make check
65 define STAGE_INSTALL_CMDS
66 # These binaries are for the compatiblity mode, so we don´t need them
67 rm -vf $(BUILDROOT)/sbin/poweroff
68 rm -vf $(BUILDROOT)/sbin/runlevel
69 rm -vf $(BUILDROOT)/sbin/shutdown
70 rm -vf $(BUILDROOT)/sbin/telinit
72 # These config files are for the compatiblity mode, so we don´t need them
73 rm -vf $(BUILDROOT)/etc/init/control-alt-delete.conf
74 rm -vf $(BUILDROOT)/etc/init/rc-sysinit.conf
75 rm -vf $(BUILDROOT)/etc/init/rc.conf
76 rm -vf $(BUILDROOT)/etc/init/rcS.conf