Magellan Linux

Contents of /trunk/core/mage-bootstrap/mage-bootstrap-1.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1187 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/mage-bootstrap/mage-bootstrap-1.8-r1.smage2,v 1.1 2008/06/26 16:05:25 niro Exp $
2
3 PNAME="mage-bootstrap"
4 PVER="1.8"
5 PBUILD="r1"
6
7 PCATEGORIE="app-mage"
8 STATE="unstable"
9
10 DESCRIPTION="Magellan system bootstrap script."
11 HOMEPAGE="http://magellan-linux.com/"
12
13 DEPEND=">= app-mage/mage-0.4.0"
14 SDEPEND=">= dev-util/cvs-1.11"
15
16 SRCFILE="${PNAME}-${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude mtools cvs
20
21 src_prepare()
22 {
23 MY_CVS_MODULE="magellan-src/bootstrap/scripts/bootstrap-default-system.sh"
24 MY_CVS_OPTS=""
25 export CVSROOT=:pserver:anonymous:@magellan-linux.de:/magellan-cvs
26 cvs_fetch_source || die
27 export SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
28
29 MY_CVS_MODULE="magellan-src/bootstrap/scripts"
30 MY_CVS_OPTS="-r ${PVER}"
31 export CVSROOT=:pserver:anonymous:@magellan-linux.de:/magellan-cvs
32 cvs_fetch_source || die
33
34 # fix version number
35 sed -i "s:@VERSION@:${PVER}:" ${SRCDIR}/mage-bootstrap.sh || die
36 }
37
38 src_install()
39 {
40 cd ${SRCDIR}
41
42 # needed directories
43 minstalldir /usr/sbin || die
44 minstallexec mage-bootstrap.sh /usr/sbin/mage-bootstrap || die
45 minstallexec bootstrap-default-system.sh /usr/sbin/bootstrap-default-system || die
46 }

Properties

Name Value
svn:keywords Id