Magellan Linux

Annotation of /branches/magellan-next/include/mbuild.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9861 - (hide annotations) (download)
Fri Jan 13 19:12:17 2012 UTC (12 years, 4 months ago) by niro
File size: 557 byte(s)
-continue checks on failures
1 niro 1932 # $Id$
2 niro 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 niro 9823 mbuild_src_check()
17     {
18     cd ${SRCDIR}
19 niro 9861 mmake -k check || die
20 niro 9823 }
21    
22 niro 2 mbuild_src_install()
23     {
24     cd ${SRCDIR}
25 niro 1932 mmake DESTDIR=${BINDIR} install || die
26 niro 2
27     local i
28 niro 9823 for i in ABOUT-NLS ANNOUNCE AUTHORS BUGS CHANGES \
29     ChangeLog COPYING FAQ LICENSE NEWS README TODO
30 niro 2 do
31     if [ -f ${SRCDIR}/${i} ]
32     then
33     minstalldocs ${i} || die
34     fi
35     done
36     }
37    
38 niro 9823 export_inherits mbuild src_prepare src_compile src_check src_install