From e9d044d4b9b71200a96adfa280848858c0f468c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Nov 2021 13:10:00 +0000 Subject: gentoo resync : 13.11.2021 --- dev-util/debootstrap/debootstrap-1.0.126.ebuild | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 dev-util/debootstrap/debootstrap-1.0.126.ebuild (limited to 'dev-util/debootstrap/debootstrap-1.0.126.ebuild') diff --git a/dev-util/debootstrap/debootstrap-1.0.126.ebuild b/dev-util/debootstrap/debootstrap-1.0.126.ebuild new file mode 100644 index 000000000000..4cc27d3d8911 --- /dev/null +++ b/dev-util/debootstrap/debootstrap-1.0.126.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Debian/Ubuntu bootstrap scripts" +HOMEPAGE="https://packages.qa.debian.org/d/debootstrap.html" +SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz + mirror://gentoo/devices.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + app-arch/dpkg + net-misc/wget + sys-devel/binutils +" +DOCS=( TODO debian/changelog ) +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${PN}_${PV}.tar.gz + cp "${DISTDIR}"/devices.tar.gz "${S}" +} + +src_compile() { + return +} + +src_install() { + default + doman debootstrap.8 +} + +pkg_postinst() { + if ! has_version ${CATEGORY}/${PN} && ! has_version app-crypt/gnupg; then + elog "To check Release files against a keyring (--keyring=K), please" + elog "install app-crypt/gnupg" + fi + + if ! has_version app-crypt/debian-archive-keyring || ! has_version app-crypt/ubuntu-keyring; then + elog "To check Release files from Debian or Ubuntu, please install" + elog " app-crypt/debian-archive-keyring or" + elog " app-crypt/ubuntu-keyring as required" + fi +} -- cgit v1.2.3