]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/upstart/upstart.nm
PKG_GROUP -> PKG_GROUPS on all packages.
[people/ms/ipfire-3.x.git] / pkgs / upstart / upstart.nm
CommitLineData
923cac1c
SS
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
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. #
10# #
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. #
15# #
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/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = upstart
64106e56
SS
28PKG_VER = 0.6.7
29PKG_REL = 0
923cac1c
SS
30
31PKG_MAINTAINER = Stefan Schantl <stefan.schantl@ipfire.org>
bb7d617c 32PKG_GROUPS = System/Base
923cac1c
SS
33PKG_URL = http://upstart.ubuntu.com/
34PKG_LICENSE = GPLv2+
35PKG_SUMMARY = An event-driven init system.
36
8b416b19
MT
37PKG_BUILD_DEPS+= autoconf automake coreutils dbus-devel libnih-devel libtool \
38 libudev-devel pkg-config
39PKG_DEPS += sysvinit
923cac1c
SS
40
41define 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 \
45 system is running.
46endef
47
5b2dc186 48PKG_TARBALL = $(THISAPP).tar.gz
923cac1c
SS
49
50CONFIGURE_OPTIONS += \
51 --sbindir=/sbin \
52 --sysconfdir=/etc \
53 --libdir=/lib
54
a2cb5fbd
MT
55define STAGE_PREPARE_CMDS
56 cd $(DIR_APP) && libtoolize
57 cd $(DIR_APP) && autoreconf --force
58endef
59
70b263ba
SS
60# Testsuite fails
61#define STAGE_TEST
62# cd $(DIR_APP) && make check
63#endef
64
923cac1c
SS
65define STAGE_INSTALL_CMDS
66 # These binaries are for the compatiblity mode, so we don´t need them
67 rm -vf $(BUILDROOT)/sbin/poweroff
923cac1c
SS
68 rm -vf $(BUILDROOT)/sbin/runlevel
69 rm -vf $(BUILDROOT)/sbin/shutdown
70 rm -vf $(BUILDROOT)/sbin/telinit
71
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
77endef
78