Magellan Linux

Annotation of /trunk/todo/vzctl/vzctl-3.0.22-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2629 - (hide annotations) (download)
Thu Jul 9 20:41:12 2009 UTC (14 years, 11 months ago) by niro
File size: 1509 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/vzctl/vzctl-3.0.22-r1.smage2,v 1.1 2008/03/18 09:08:04 niro Exp $
2    
3     PNAME="vzctl"
4     PVER="3.0.22"
5     PBUILD="r1"
6    
7     PCATEGORIE="sys-apps"
8     STATE="unstable"
9    
10     DESCRIPTION="OpenVZ Virtual Environments control utility."
11     HOMEPAGE="http://openvz.org/"
12    
13     DEPEND=">= app-shells/bash-3
14     >= sys-apps/gawk-3
15     >= sys-apps/sed-4
16     >= sys-apps/ed-0.5
17     >= sys-apps/grep-2.5
18     >= sys-apps/coreutils-6
19     >= sys-apps/tar-1.16
20     >= net-misc/rsync-2.6
21     >= net-misc/openssh-4
22     >= sys-apps/iproute2-2.6.20
23     >= net-misc/iptables-1.3
24     >= virtual/cron
25     >= app-admin/logrotate-3.7.1
26     >= sys-fs/vzquota-3
27     >= sys-apps/initscripts-0.4.6"
28    
29     SRCFILE="${PNAME}-${PVER}.tar.bz2"
30     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
31    
32     sminclude mtools
33    
34     SRC_URI=(
35     http://download.openvz.org/utils/${PNAME}/${PVER}/src/${SRCFILE}
36     mirror://${PNAME}/${SRCFILE}
37     mirror://${PNAME}/${PNAME}-3.0.18-magellan-3.patch
38     mirror://${PNAME}/${PNAME}-3.0.18-initddir.patch
39     )
40    
41     src_prepare()
42     {
43     munpack ${SRCFILE} || die
44     cd ${SRCDIR}
45    
46     # adds dist-scripts for magellan linux
47     mpatch ${PNAME}-3.0.18-magellan-3.patch || die
48    
49     # fix initddir; we're using /etc/rc.d/init.d
50     mpatch ${PNAME}-3.0.18-initddir.patch || die
51     }
52    
53     src_compile()
54     {
55     cd ${SRCDIR}
56    
57     mconfigure \
58     --localstatedir=/var \
59     --enable-cron \
60     --enable-udev \
61     --enable-bashcomp \
62     --enable-logrotate \
63     || die
64     mmake || die
65     }
66    
67     src_install()
68     {
69     cd ${SRCDIR}
70     mmake DESTDIR=${BINDIR} install install-magellan || die
71     minstalldocs ChangeLog COPYING || die
72     mkeepdir /etc/vz/names || die
73     }

Properties

Name Value
svn:keywords Id