Skip to content

Commit

Permalink
sys-apps/kmod: Synced live ebuild.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
Lars Wendler committed Jan 9, 2018
1 parent ceacb5d commit 30f0bdf
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions sys-apps/kmod/kmod-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
EAPI=6

PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )

inherit bash-completion-r1 eutils multilib python-r1
inherit bash-completion-r1 ltprune multilib python-r1

if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/${PN}/${PN}.git"
inherit autotools git-2
inherit autotools git-r3
else
SRC_URI="mirror://kernel/linux/utils/kernel/kmod/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
Expand Down Expand Up @@ -55,6 +55,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DOCS="NEWS README TODO"

src_prepare() {
default

if [ ! -e configure ]; then
if use doc; then
gtkdocize --copy --docdir libkmod/docs || die
Expand All @@ -75,15 +77,15 @@ src_prepare() {
src_configure() {
local myeconfargs=(
--bindir="${EPREFIX}/bin"
--with-rootlibdir="${EPREFIX}/$(get_libdir)"
--enable-shared
$(use_enable static-libs static)
$(use_enable tools)
--with-bashcompletiondir="$(get_bashcompdir)"
--with-rootlibdir="${EPREFIX}/$(get_libdir)"
$(use_enable debug)
$(use_enable doc gtk-doc)
$(use_enable static-libs static)
$(use_enable tools)
$(use_with lzma xz)
$(use_with zlib)
--with-bashcompletiondir="$(get_bashcompdir)"
)

local ECONF_SOURCE="${S}"
Expand Down

0 comments on commit 30f0bdf

Please sign in to comment.