Magellan Linux

Annotation of /trunk/todo/openvz-template-debian/openvz-template-debian-4.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2509 - (hide annotations) (download)
Thu Jul 9 20:12:01 2009 UTC (14 years, 11 months ago) by niro
File size: 969 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="debian"
4     PNAME="openvz-template-${BRANCH}"
5     PVER="4.0"
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}-i386-minimal.tar.gz"
18     SRCFILE_x86_64="${BRANCH}-${PVER}-x86_64-minimal.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     }

Properties

Name Value
svn:keywords Id