Magellan Linux

Contents of /trunk/extras/lxc/lxc-0.7.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5610 - (show annotations) (download)
Tue Jul 13 14:48:28 2010 UTC (13 years, 10 months ago) by niro
File size: 1282 byte(s)
auto added: ver bump to 0.7.1-r1
1 # $Id$
2
3 PNAME="lxc"
4 PVER="0.7.1"
5 PBUILD="r1"
6
7 PCATEGORIE="app-emulation"
8 STATE="unstable"
9
10 DESCRIPTION="lxc Linux Containers - container namespace cgroup virtualisation."
11 HOMEPAGE="http://lxc.sourceforge.net/"
12
13 DEPEND=">= sys-libs/libcap-2.17
14 >= net-misc/bridge-utils-1.4
15 >= app-mage/mage-bootstrap-1"
16
17 SDEPEND=">= virtual/kernel-headers"
18
19 SRCFILE="${PNAME}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild mtools
23
24 SRC_URI=(
25 sourceforge://${PNAME}/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 mirror://${PNAME}/lxc-magellan.sh
28 )
29
30 UP2SUBSTITUTE="${PNAME}-"
31 UP2DATE="updatecmd_sourceforge ${PNAME}"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 mconfigure \
38 --bindir=/usr/sbin \
39 --docdir=/usr/share/doc/${PNAME}-${PVER} \
40 --localstatedir=/var \
41 --with-config-path=/etc/lxc \
42 --enable-examples \
43 || die
44
45 mmake || die
46 }
47
48 src_install()
49 {
50 cd ${SRCDIR}
51 mmake DESTDIR=${BINDIR} install || die
52 mkeepdir /etc/lxc || die
53
54 minstallman doc/\*.1 || die
55 minstallman doc/\*.5 || die
56 minstallman doc/\*.7 || die
57
58 # install our bootstrap script
59 minstalldir /usr/$(mlibdir)/lxc/templates || die
60 minstallexec -s lxc-magellan.sh /usr/$(mlibdir)/lxc/templates/lxc-magellan || die
61
62 minstalldocs AUTHORS ChangeLog CONTRIBUTING COPYING MAINTAINERS NEWS README TODO || die
63 }

Properties

Name Value
svn:keywords Id