commit: 295e86f066958779c61a3dd0e5a6a4765754b050
parent f0a9c6aa925c081e8ce3c38779154a50a84cc0f4
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 12 Sep 2022 21:45:34 +0200
app-containers/lxc-templates: Add live
Diffstat:
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/app-containers/lxc-templates/lxc-templates-9999.ebuild b/app-containers/lxc-templates/lxc-templates-9999.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools git-r3
+
+DESCRIPTION="Old style template scripts for LXC"
+HOMEPAGE="https://linuxcontainers.org/ https://github.com/lxc/lxc-templates"
+EGIT_REPO_URI="https://github.com/lxc/lxc-templates.git"
+LICENSE="LGPL-3"
+SLOT="0"
+
+RDEPEND=">=app-containers/lxc-3.0"
+DEPEND="${RDEPEND}"
+
+DOCS=()
+
+src_prepare() {
+ default
+
+ sed -i '/^install-data-local:/,/^$/d' Makefile.am || die
+
+ eautoreconf
+}
diff --git a/app-containers/lxc-templates/metadata.xml b/app-containers/lxc-templates/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">lxc/lxc-templates</remote-id>
+ </upstream>
+</pkgmetadata>