Annotation of /trunk/core/sysvinit/sysvinit-2.86-r7.smage2
Parent Directory | Revision Log
Revision 183 -
(hide annotations)
(download)
Tue Oct 14 22:28:19 2008 UTC (15 years, 11 months ago) by niro
File size: 1297 byte(s)
Tue Oct 14 22:28:19 2008 UTC (15 years, 11 months ago) by niro
File size: 1297 byte(s)
-rev bump to 2.86-r7
1 | niro | 183 | # $Header: /magellan-cvs/smage/sysvinit/sysvinit-2.86-r6.smage2,v 1.1 2008/02/10 12:20:31 niro Exp $ |
2 | |||
3 | PNAME="sysvinit" | ||
4 | PVER="2.86" | ||
5 | PBUILD="r7" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="System initialization stuff." | ||
11 | HOMEPAGE="http://freshmeat.net/projects/sysvinit/" | ||
12 | |||
13 | DEPEND="" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mtools | ||
19 | |||
20 | SRC_URI=( | ||
21 | ftp://ftp.cistron.nl/pub/people/miquels/${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd ftp://ftp.cistron.nl/pub/people/miquels/${PNAME} | lasttarball gz" | ||
26 | |||
27 | # info: installs no inittab -> this file is in the magellan-initscripts | ||
28 | |||
29 | src_prepare() | ||
30 | { | ||
31 | munpack ${SRCFILE} || die | ||
32 | cd ${SRCDIR} | ||
33 | |||
34 | sed -i 's@Sending processes@& started by init@g' src/init.c || die | ||
35 | } | ||
36 | |||
37 | src_compile() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | mmake -C src CFLAGS="-Wall -D_GNU_SOURCE ${CFLAGS}" || die | ||
41 | } | ||
42 | |||
43 | src_install() | ||
44 | { | ||
45 | cd ${SRCDIR} | ||
46 | |||
47 | # needed directories | ||
48 | minstalldir /{s,}bin || die | ||
49 | minstalldir /usr/{bin,include} || die | ||
50 | minstalldir /usr/share/man/man{1,5,8} || die | ||
51 | |||
52 | # makefile wants ${ROOT} as ${DESTDIR} | ||
53 | mmake -C src ROOT=${BINDIR} install || die | ||
54 | minstalldocs COPYRIGHT README doc/* | ||
55 | } | ||
56 | |||
57 | postinstall() | ||
58 | { | ||
59 | # reloading init | ||
60 | echo " Reloading init ..." | ||
61 | [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] && /sbin/init U &> /dev/null | ||
62 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |