diff options
Diffstat (limited to 'dev-util/kup/kup-0.3.6-r1.ebuild')
-rw-r--r-- | dev-util/kup/kup-0.3.6-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/kup/kup-0.3.6-r1.ebuild b/dev-util/kup/kup-0.3.6-r1.ebuild new file mode 100644 index 000000000000..2dbef2793236 --- /dev/null +++ b/dev-util/kup/kup-0.3.6-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="kernel.org uploader tool" +HOMEPAGE="https://www.kernel.org/pub/software/network/kup" +SRC_URI="https://www.kernel.org/pub/software/network/kup/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/perl + dev-perl/BSD-Resource + dev-perl/Config-Simple" +IUSE='gitolite' + +DOCS=( README ) + +src_prepare() { + if use gitolite; then + cp -f "${S}/${PN}-server" "${S}/${PN}-server-gitolite" + patch "${S}/${PN}-server-gitolite" <"${FILESDIR}"/${PN}-server-gitolite-subcmd.patch || die + fi + default +} + +src_install() { + dobin "${PN}" "${PN}-server" gpg-sign-all + doman "${PN}.1" + einstalldocs + if use gitolite; then + exeinto /usr/libexec/gitolite/commands/ + newexe ${PN}-server-gitolite ${PN}-server + fi +} |