Annotation of /smage/trunk/include/mbuild.sminc
Parent Directory | Revision Log
Revision 2792 -
(hide annotations)
(download)
Mon Aug 29 20:03:18 2011 UTC (13 years, 1 month ago) by niro
File size: 477 byte(s)
Mon Aug 29 20:03:18 2011 UTC (13 years, 1 month ago) by niro
File size: 477 byte(s)
-merged branch alx-0_6_0 into trunk
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 | mbuild_src_install() | ||
17 | { | ||
18 | cd ${SRCDIR} | ||
19 | niro | 1664 | mmake DESTDIR=${BINDIR} install || die |
20 | niro | 1661 | |
21 | local i | ||
22 | for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \ | ||
23 | FAQ LICENSE NEWS README TODO | ||
24 | do | ||
25 | if [ -f ${SRCDIR}/${i} ] | ||
26 | then | ||
27 | minstalldocs ${i} || die | ||
28 | fi | ||
29 | done | ||
30 | } | ||
31 | |||
32 | export_inherits mbuild src_prepare src_compile src_install |