diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-02 14:32:39 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-02 14:32:54 +0100 |
commit | 8845fb86370df98660919bfad9445df896322356 (patch) | |
tree | 7939ce8a81250a17a596fca4a0451b90e6bb47ea /sys-apps/debianutils/debianutils-4.8.4.ebuild | |
parent | app-admin/calamares: Version bump 3.1.11 (diff) | |
download | gentoo-8845fb86370df98660919bfad9445df896322356.tar.gz gentoo-8845fb86370df98660919bfad9445df896322356.tar.bz2 gentoo-8845fb86370df98660919bfad9445df896322356.zip |
sys-apps/debianutils: Bump to version 4.8.4
Use "installkernel" USE flag to control installation of installkernel
shell script.
Closes: https://bugs.gentoo.org/527304
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-apps/debianutils/debianutils-4.8.4.ebuild')
-rw-r--r-- | sys-apps/debianutils/debianutils-4.8.4.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/debianutils/debianutils-4.8.4.ebuild b/sys-apps/debianutils/debianutils-4.8.4.ebuild new file mode 100644 index 000000000000..6932bae8d611 --- /dev/null +++ b/sys-apps/debianutils/debianutils-4.8.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit flag-o-matic + +DESCRIPTION="A selection of tools from Debian" +HOMEPAGE="https://packages.qa.debian.org/d/debianutils.html" +SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz" + +LICENSE="BSD GPL-2 SMAIL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux" +IUSE="+installkernel static" + +PATCHES=( "${FILESDIR}"/${PN}-3.4.2-no-bs-namespace.patch ) + +S="${WORKDIR}/${PN}" + +src_configure() { + use static && append-ldflags -static + default +} + +src_install() { + into / + dobin tempfile run-parts + if use installkernel ; then + dosbin installkernel + fi + + into /usr + dosbin savelog + + doman tempfile.1 run-parts.8 savelog.8 + use installkernel && doman installkernel.8 + cd debian || die + dodoc changelog control + keepdir /etc/kernel/postinst.d +} |