From 26a79f9bd271f7f5e887a506ef768ce33129ade3 Mon Sep 17 00:00:00 2001 From: Benedikt Boehm Date: Sat, 21 Jan 2006 19:56:16 +0000 Subject: diet support Package-Manager: portage-2.1_pre3-r1 --- sys-libs/libvserver/Manifest | 8 ++++---- sys-libs/libvserver/libvserver-1.0.2.ebuild | 11 ++++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'sys-libs') diff --git a/sys-libs/libvserver/Manifest b/sys-libs/libvserver/Manifest index 7ec988d12e5b..fcc40ea8ee41 100644 --- a/sys-libs/libvserver/Manifest +++ b/sys-libs/libvserver/Manifest @@ -6,13 +6,13 @@ MD5 848ee798ec162969c9e2c0c418c45e72 files/digest-libvserver-1.0 67 MD5 8e81ea9bc73fde557e56dd2812898e7c files/digest-libvserver-1.0.1 69 MD5 87920f1f4abb737221154e3df4a10884 files/digest-libvserver-1.0.2 69 MD5 c38cf5f358a62d4a7012c0c31c590408 libvserver-1.0.1.ebuild 531 -MD5 5bd4ff184b41db06cea018884d391870 libvserver-1.0.2.ebuild 531 +MD5 19f4382a60e5d6c0fa3f129f296b3570 libvserver-1.0.2.ebuild 674 MD5 920b79e3a1c7801694f29f2584e3de88 libvserver-1.0.ebuild 529 MD5 266ee2cf5cab2ae2cf414eec11b6a932 metadata.xml 449 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFD0o+1mPFBzbX68WERAhi8AJ4yczh0SyyXYfj+tDKOKsd2arafZwCaA1Ns -7kGibvNu0gOMdD3xyRdS66c= -=2REF +iD8DBQFD0pHvmPFBzbX68WERAjdVAKCObXZL5Qot57mXI+uu+T0vVj6iMgCfQJLi +Tzolvbw+/IAve7hLSzxzYPY= +=+4BR -----END PGP SIGNATURE----- diff --git a/sys-libs/libvserver/libvserver-1.0.2.ebuild b/sys-libs/libvserver/libvserver-1.0.2.ebuild index 5676df75eee9..4a1d691ba1ef 100644 --- a/sys-libs/libvserver/libvserver-1.0.2.ebuild +++ b/sys-libs/libvserver/libvserver-1.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libvserver/libvserver-1.0.2.ebuild,v 1.1 2006/01/21 19:46:45 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libvserver/libvserver-1.0.2.ebuild,v 1.2 2006/01/21 19:56:16 hollow Exp $ DESCRIPTION="Linux-VServer syscall library" HOMEPAGE="http://dev.croup.de/proj/libvserver" @@ -9,9 +9,14 @@ SRC_URI="http://dev.gentoo.org/~hollow/libvserver/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" +IUSE="diet" -DEPEND="" +DEPEND="diet? ( >=dev-libs/dietlibc-0.28 )" + +src_compile() { + econf $(use_enable diet dietlibc) || die "econf failed" + emake || die "emake failed" +} src_install() { make DESTDIR="${D}" install || die "make install failed" -- cgit v1.2.3-65-gdbad