Magellan Linux

Contents of /trunk/include/mbuild.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9880 - (show annotations) (download)
Sat Jan 14 01:48:34 2012 UTC (12 years, 4 months ago) by niro
File size: 557 byte(s)
-imported from magellan-next
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 -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