Magellan Linux

Annotation of /smage/trunk/include/mbuild.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3572 - (hide annotations) (download)
Mon Jul 9 17:40:21 2012 UTC (11 years, 10 months ago) by niro
File size: 561 byte(s)
-merged with upstream
1 niro 1664 # $Id$
2 niro 1661 # 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 3572 mbuild_src_check()
17     {
18     cd ${SRCDIR}
19     mmake -j1 -k check || die
20     }
21    
22 niro 1661 mbuild_src_install()
23     {
24     cd ${SRCDIR}
25 niro 1664 mmake DESTDIR=${BINDIR} install || die
26 niro 1661
27     local i
28 niro 3572 for i in ABOUT-NLS ANNOUNCE AUTHORS BUGS CHANGES \
29     ChangeLog COPYING FAQ LICENSE NEWS README TODO
30 niro 1661 do
31     if [ -f ${SRCDIR}/${i} ]
32     then
33     minstalldocs ${i} || die
34     fi
35     done
36     }
37    
38 niro 3572 export_inherits mbuild src_prepare src_compile src_check src_install