Magellan Linux

Contents of /trunk/include/mbuild.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9934 - (show annotations) (download)
Sun Jan 15 00:02:09 2012 UTC (12 years, 3 months ago) by niro
File size: 561 byte(s)
-disabled parallel mode for src_check
1 # $Id$
2 # default magellan build
3
4 mbuild_src_prepare()
5 {
6 munpack ${SRCFILE} || die
7 }
8
9 mbuild_src_compile()
10 {
11 cd ${SRCDIR}
12 mconfigure || die
13 mmake || die
14 }
15
16 mbuild_src_check()
17 {
18 cd ${SRCDIR}
19 mmake -j1 -k check || die
20 }
21
22 mbuild_src_install()
23 {
24 cd ${SRCDIR}
25 mmake DESTDIR=${BINDIR} install || die
26
27 local i
28 for i in ABOUT-NLS ANNOUNCE AUTHORS BUGS CHANGES \
29 ChangeLog COPYING FAQ LICENSE NEWS README TODO
30 do
31 if [ -f ${SRCDIR}/${i} ]
32 then
33 minstalldocs ${i} || die
34 fi
35 done
36 }
37
38 export_inherits mbuild src_prepare src_compile src_check src_install