summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/grml-debootstrap/Manifest1
-rw-r--r--dev-util/grml-debootstrap/grml-debootstrap-0.67.ebuild67
-rw-r--r--dev-util/grml-debootstrap/metadata.xml8
3 files changed, 76 insertions, 0 deletions
diff --git a/dev-util/grml-debootstrap/Manifest b/dev-util/grml-debootstrap/Manifest
new file mode 100644
index 0000000..473ffaa
--- /dev/null
+++ b/dev-util/grml-debootstrap/Manifest
@@ -0,0 +1 @@
+DIST grml-debootstrap-0.67.tar.gz 166794 SHA256 e5056f714e0a7e2388792c96aefff819810e5daf44e68d7a7739b3c92ffdd466 SHA512 20a430973b716919f061d04038e9182c0ba17dc7393249b75ff0fdb54d105bb0da1f60d7fc6aaa7a46aaebff754e9c66f76d39c9970e8ccd3fbe4ea5e9614bf8 WHIRLPOOL 5c5b0ca5ae6536fe091b2388412447701e58121f57e7b5191d4481ace04747ce79405139af47b0a2668fc8d37a6c329858c1c27009fc06bf9a46e2593a3790c9
diff --git a/dev-util/grml-debootstrap/grml-debootstrap-0.67.ebuild b/dev-util/grml-debootstrap/grml-debootstrap-0.67.ebuild
new file mode 100644
index 0000000..5fe21cd
--- /dev/null
+++ b/dev-util/grml-debootstrap/grml-debootstrap-0.67.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+DESCRIPTION="Flexible wrapper around debootstrap"
+HOMEPAGE="https://github.com/grml/grml-debootstrap"
+SRC_URI="https://github.com/grml/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2" # not GPL-2+ since the config file is GPL-2 only
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="
+ app-text/asciidoc
+ dev-libs/libxslt
+ "
+RDEPEND="
+ app-emulation/qemu
+ app-shells/mksh
+ dev-util/dialog
+ dev-util/debootstrap
+ sys-block/parted
+ sys-apps/debian-archive-keyring
+ sys-boot/grub:2
+ "
+
+src_prepare() {
+ local old=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
+ local new=/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl
+ sed "s,${old},${new}," -i Makefile || die
+
+ sed 's,grub-mkimage,grub2-mkimage,' -i ${PN} || die
+}
+
+src_compile() {
+ emake doc_man
+ use doc && emake doc_html
+}
+
+src_install() {
+ # debian/rules target "install"
+ dodir etc/debootstrap usr/sbin etc/debootstrap/extrapackages \
+ etc/zsh/completion.d usr/share/grml-debootstrap/functions
+ install -m 644 config "${D}"/etc/debootstrap/
+ install -m 644 devices.tar.gz "${D}"/etc/debootstrap/
+ install -m 644 locale.gen "${D}"/etc/debootstrap/
+ install -m 644 packages "${D}"/etc/debootstrap/
+ install -m 755 chroot-script "${D}"/etc/debootstrap/
+ install -m 755 grml-debootstrap "${D}"/usr/sbin/
+ install -m 644 zsh-completion "${D}"/etc/zsh/completion.d/_grml-debootstrap
+ install -m 644 cmdlineopts.clp "${D}"/usr/share/grml-debootstrap/functions/cmdlineopts.clp
+ install -m 755 bootgrub.mksh "${D}"/usr/share/grml-debootstrap/bootgrub.mksh
+
+ # debian/rules target "binary-indep"
+ dodoc TODO THANKS
+ doman ${PN}.8
+
+ # Some doc on top
+ use doc && {
+ dodoc grml-debootstrap.8.html
+ insinto /usr/share/doc/${PF}/
+ doins -r images
+ }
+}
diff --git a/dev-util/grml-debootstrap/metadata.xml b/dev-util/grml-debootstrap/metadata.xml
new file mode 100644
index 0000000..16bcc9f
--- /dev/null
+++ b/dev-util/grml-debootstrap/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>