Magellan Linux

Contents of /trunk/extras/mlivecdbuild/mlivecdbuild-0.2.6-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: 1136 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/mlivecdbuild/mlivecdbuild-0.2.5-r1.smage2,v 1.1 2008/04/10 20:58:30 niro Exp $
2
3 PNAME="mlivecdbuild"
4 PVER="0.2.6"
5 PBUILD="r1"
6
7 PCATEGORIE="app-mage"
8 STATE="unstable"
9
10 DESCRIPTION="Magellan livecd utilities."
11 HOMEPAGE="http://magellan-linux.com/"
12
13 DEPEND=">= app-cdr/cdrtools-2
14 >= app-cdr/dvd+rw-tools-7
15 >= sys-fs/squashfs-tools-3
16 >= app-mage/mage-bootstrap-1
17 >= sys-apps/mkinitrd-6"
18
19 SRCFILE="${PNAME}-${PVER}.tar.bz2"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude cvs
23
24 # avaible options are source/rsync/cvs
25 METHOD=source
26
27 case ${METHOD} in
28 cvs) SDEPEND=">= dev-util/cvs-1.11" ;;
29 source) SDEPEND="" ;;
30 esac
31
32 [[ ${METHOD} = source ]] && SRC_URI=( mirror://${PNAME}/${SRCFILE} )
33
34 src_prepare()
35 {
36 [[ ${METHOD} = source ]] && { munpack ${SRCFILE} || die; }
37
38 if [[ ${METHOD} = cvs ]]
39 then
40 MY_CVS_MODULE="magellan-src/mlivecdbuild"
41 # $PVER must be eg 0_3_3
42 MY_CVS_OPTS="-r cdbuild-$(echo ${PVER} | sed -e "s|\.|\_|g")"
43 export CVSROOT=:pserver:anonymous:@magellan-linux.de:/magellan-cvs
44 cvs_fetch_source || die
45 fi
46 }
47
48 src_install()
49 {
50 cd ${SRCDIR}
51 make DESTDIR=${BINDIR} install || die
52 }

Properties

Name Value
svn:keywords Id