summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-12-04 03:52:40 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-12-04 03:52:40 +0000
commit08ad1fb5a99c6c8803bc11878f420430635a2a58 (patch)
treeeafb07d72902b4e59ebf53922be16eb1724b758b /sys-apps/lmctfy/lmctfy-0.2.0.ebuild
parentAutomated update. (diff)
downloadhistorical-08ad1fb5a99c6c8803bc11878f420430635a2a58.tar.gz
historical-08ad1fb5a99c6c8803bc11878f420430635a2a58.tar.bz2
historical-08ad1fb5a99c6c8803bc11878f420430635a2a58.zip
Bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/lmctfy/lmctfy-0.2.0.ebuild')
-rw-r--r--sys-apps/lmctfy/lmctfy-0.2.0.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-apps/lmctfy/lmctfy-0.2.0.ebuild b/sys-apps/lmctfy/lmctfy-0.2.0.ebuild
new file mode 100644
index 000000000000..235b1a85c929
--- /dev/null
+++ b/sys-apps/lmctfy/lmctfy-0.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lmctfy/lmctfy-0.2.0.ebuild,v 1.1 2013/12/04 03:52:31 patrick Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Linux application container management from Google"
+HOMEPAGE="https://github.com/google/lmctfy"
+SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+ dev-libs/protobuf
+ dev-cpp/gflags
+ dev-libs/re2
+ "
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ # test deps take too long to compile
+ use test && emake || emake lmctfy liblmctfy.a
+}
+
+src_install() {
+ # silly upstream!
+ mkdir -p "${D}/usr/bin"
+ cp "${S}/bin/lmctfy/cli/lmctfy" "${D}/usr/bin/" || die "Failed to copy cli binary"
+ dolib.a "${S}/bin/liblmctfy.a" || die "Failed to copy library"
+}