summaryrefslogtreecommitdiff
blob: 14077899fb33d439ce000e6088c6fdb35cd0a0d3 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libvserver/libvserver-0.2.1.ebuild,v 1.1 2005/07/23 08:28:52 hollow Exp $

DESCRIPTION="Linux-VServer syscall library"
HOMEPAGE="http://dev.gentoo.org/~hollow/vserver/libvserver"
SRC_URI="${HOMEPAGE}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"

IUSE="diet"
DEPEND="diet? ( >=dev-libs/dietlibc-0.28 )"

src_compile() {
	local myconf

	use diet && myconf="--enable-dietlibc --disable-shared"

	econf ${myconf}
	emake
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"
}