summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-12 23:52:16 +0000
committerMike Frysinger <vapier@gentoo.org>2013-05-12 23:52:16 +0000
commit9d2797363fb22e64b3148f129878a7c8af758437 (patch)
treeb8f8b3fa3961985aed71ac46f72066d260fbba36 /sys-apps/usermode-utilities
parentMask nic3com re bug 454024 (diff)
downloadgentoo-2-9d2797363fb22e64b3148f129878a7c8af758437.tar.gz
gentoo-2-9d2797363fb22e64b3148f129878a7c8af758437.tar.bz2
gentoo-2-9d2797363fb22e64b3148f129878a7c8af758437.zip
Update to EAPI=4. Add arm love. Handle AR/CC/CPPFLAGS.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-apps/usermode-utilities')
-rw-r--r--sys-apps/usermode-utilities/ChangeLog8
-rw-r--r--sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild25
2 files changed, 17 insertions, 16 deletions
diff --git a/sys-apps/usermode-utilities/ChangeLog b/sys-apps/usermode-utilities/ChangeLog
index 97f0120d663a..da63207bfbc5 100644
--- a/sys-apps/usermode-utilities/ChangeLog
+++ b/sys-apps/usermode-utilities/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/usermode-utilities
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/ChangeLog,v 1.38 2012/06/08 13:16:07 pacho Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/ChangeLog,v 1.39 2013/05/12 23:52:16 vapier Exp $
+
+ 12 May 2013; Mike Frysinger <vapier@gentoo.org>
+ usermode-utilities-20070815-r3.ebuild:
+ Update to EAPI=4. Add arm love. Handle AR/CC/CPPFLAGS.
08 Jun 2012; Pacho Ramos <pacho@gentoo.org>
usermode-utilities-20070815-r3.ebuild:
diff --git a/sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild b/sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild
index 70ae45dfae3c..cfd8189b887c 100644
--- a/sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild
+++ b/sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild
@@ -1,16 +1,18 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild,v 1.4 2012/06/08 13:16:07 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/usermode-utilities-20070815-r3.ebuild,v 1.5 2013/05/12 23:52:16 vapier Exp $
-inherit eutils
+EAPI="4"
+
+inherit eutils toolchain-funcs
DESCRIPTION="Tools for use with Usermode Linux virtual machines"
-SRC_URI="http://user-mode-linux.sourceforge.net/uml_utilities_${PV}.tar.bz2"
HOMEPAGE="http://user-mode-linux.sourceforge.net/"
+SRC_URI="http://user-mode-linux.sourceforge.net/uml_utilities_${PV}.tar.bz2"
-SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="-* amd64 x86"
+SLOT="0"
+KEYWORDS="amd64 arm x86"
IUSE="fuse"
RDEPEND="fuse? ( sys-fs/fuse )
@@ -19,9 +21,7 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}"/tools-${PV}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
# Merge previous patches with fix for bug #331099
epatch "${FILESDIR}"/${P}-rollup.patch
# Fix owner of humfsify; bug #364531
@@ -35,9 +35,6 @@ src_unpack() {
}
src_compile() {
- emake CFLAGS="${CFLAGS} -DTUNTAP -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -Wall" all || die "Compilation failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed"
+ tc-export AR CC
+ emake CFLAGS="${CFLAGS} ${CPPFLAGS} -DTUNTAP -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -Wall" all
}