summaryrefslogtreecommitdiff
blob: 5953a8ea13f123b398beebf006ae271ebf70f75d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit autotools eutils subversion

DESCRIPTION="Linux-VServer Common Wrappers."
HOMEPAGE="http://svn.linux-vserver.org/projects/vwrappers/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="=dev-libs/lucid-svn-9999
		=sys-libs/libvserver-svn-9999"
RDEPEND="${DEPEND}"

ESVN_REPO_URI="http://svn.linux-vserver.org/svn/vwrappers/trunk"
ESVN_BOOTSTRAP="make -f Makefile.svn"

src_compile() {
	econf || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	newinitd "${FILESDIR}/vprocunhide-initd" vprocunhide || die "Inserting init.d-file failed"
	dodoc README ChangeLog AUTHORS
}