diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-31 08:08:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-31 08:08:46 +0000 |
commit | 72cf44d014c0a6dfa1e57dc7458250ed71fe2032 (patch) | |
tree | 7cb5071a7ee801c0f8b0f87546f51c089626c0b4 | |
parent | Version bump #396047 by teidakankan. (diff) | |
download | gentoo-2-72cf44d014c0a6dfa1e57dc7458250ed71fe2032.tar.gz gentoo-2-72cf44d014c0a6dfa1e57dc7458250ed71fe2032.tar.bz2 gentoo-2-72cf44d014c0a6dfa1e57dc7458250ed71fe2032.zip |
Add live git version #395863 by Gustavo Sverzut Barbieri, and add to base-system herd.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
-rw-r--r-- | sys-apps/kmod/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/kmod/kmod-9999.ebuild | 54 | ||||
-rw-r--r-- | sys-apps/kmod/metadata.xml | 1 |
3 files changed, 63 insertions, 1 deletions
diff --git a/sys-apps/kmod/ChangeLog b/sys-apps/kmod/ChangeLog index adc29cd9e680..df631d5321f3 100644 --- a/sys-apps/kmod/ChangeLog +++ b/sys-apps/kmod/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/kmod # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.3 2011/12/27 09:36:01 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.4 2011/12/31 08:08:46 vapier Exp $ + +*kmod-9999 (31 Dec 2011) + + 31 Dec 2011; Mike Frysinger <vapier@gentoo.org> +kmod-9999.ebuild, + metadata.xml: + Add live git version #395863 by Gustavo Sverzut Barbieri, and add to + base-system herd. 27 Dec 2011; Michał Górny <mgorny@gentoo.org> metadata.xml: Fix utf8 in metadata. diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild new file mode 100644 index 000000000000..70816daa1ae7 --- /dev/null +++ b/sys-apps/kmod/kmod-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.1 2011/12/31 08:08:46 vapier Exp $ + +EAPI="4" + +inherit autotools-utils toolchain-funcs + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.profusion.mobi/kmod.git" + inherit git-2 autotools +else + SRC_URI="http://packages.profusion.mobi/kmod/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Library and utilities for kernel module loading" +HOMEPAGE="http://git.profusion.mobi/cgit.cgi/kmod.git/" # XXX + +LICENSE="LGPL-2" +SLOT="0" +IUSE="debug lzma static-libs +tools zlib" + +RDEPEND="zlib? ( sys-libs/zlib ) + lzma? ( app-arch/xz-utils )" +DEPEND="${RDEPEND}" + +src_prepare() { + if [[ ! -e configure ]] ; then + eautoreconf + AT_NOELIBTOOLIZE=yes # autotools-utils calls this + fi + autotools-utils_src_prepare +} + +src_configure() { + myeconfargs=( + $(use_enable debug) + $(use_with lzma xz) + $(use_enable tools) + $(use_with zlib) + --bindir=/bin + --with-rootprefix=/ + ) + + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + gen_usr_ldscript -a kmod + dodir /sbin + mv "${D}"/bin/kmod-{{ins,rm}mod,modprobe} "${D}"/sbin/ || die +} diff --git a/sys-apps/kmod/metadata.xml b/sys-apps/kmod/metadata.xml index 32cf67a16da1..2954f26801f3 100644 --- a/sys-apps/kmod/metadata.xml +++ b/sys-apps/kmod/metadata.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <herd>base-system</herd> <maintainer> <email>udev-bugs@gentoo.org></email> </maintainer> |