Annotation of /trunk/todo/openvz-template-gentoo/openvz-template-gentoo-20060317-r1.smage2
Parent Directory | Revision Log
Revision 2510 -
(hide annotations)
(download)
Thu Jul 9 20:12:06 2009 UTC (15 years, 2 months ago) by niro
File size: 972 byte(s)
Thu Jul 9 20:12:06 2009 UTC (15 years, 2 months ago) by niro
File size: 972 byte(s)
-moved to 'todo'
1 | niro | 2 | # $Header: /magellan-cvs/smage/vzquota/vzquota-3.0.9-r1.smage2,v 1.2 2007-07-21 12:09:17 niro Exp $ |
2 | |||
3 | BRANCH="gentoo" | ||
4 | PNAME="openvz-template-${BRANCH}" | ||
5 | PVER="20060317" | ||
6 | PBUILD="r1" | ||
7 | |||
8 | PCATEGORIE="app-emulation" | ||
9 | STATE="unstable" | ||
10 | |||
11 | DESCRIPTION="OpenVZ precreated template for a ${BRANCH}-${PVER} virtual host." | ||
12 | HOMEPAGE="http://openvz.org/" | ||
13 | |||
14 | DEPEND="" | ||
15 | |||
16 | # both files must be fetch or our md5-logic breaks | ||
17 | SRCFILE_x86="${BRANCH}-${PVER}-i686-stage3.tar.gz" | ||
18 | SRCFILE_x86_64="${BRANCH}-${PVER}-amd64-stage3.tar.gz" | ||
19 | # decide between x86 and x86_64 arch | ||
20 | SRCFILE="$(eval echo \$SRCFILE_${ARCH/i*86/x86})" | ||
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
22 | |||
23 | sminclude mtools | ||
24 | |||
25 | SRC_URI=( | ||
26 | http://download.openvz.org/template/precreated/${SRCFILE_x86} | ||
27 | http://download.openvz.org/template/precreated/${SRCFILE_x86_64} | ||
28 | mirror://${PNAME}/${SRCFILE_x86} | ||
29 | mirror://${PNAME}/${SRCFILE_x86_64} | ||
30 | ) | ||
31 | |||
32 | src_install() | ||
33 | { | ||
34 | minstalldir /vz/template/cache || die | ||
35 | minstallfile -s ${SRCFILE} /vz/template/cache || die | ||
36 | } | ||
37 |
Properties
Name | Value |
---|---|
svn:keywords | Id |