* [gentoo-commits] dev/mgorny:master commit in: sys-apps/kmod/
@ 2011-12-25 21:12 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2011-12-25 21:12 UTC (permalink / raw
To: gentoo-commits
commit: 037a379b961fe9f3f95394257f595a4b3cabfecd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 21:12:37 2011 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 21:12:37 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=037a379b
sys-apps/kmod: Introduce kmod, the new kernel module toolset.
(Portage version: 2.2.0_alpha83/git/Linux x86_64, unsigned Manifest commit)
---
sys-apps/kmod/kmod-9999.ebuild | 64 ++++++++++++++++++++++++++++++++++++++++
sys-apps/kmod/metadata.xml | 14 +++++++++
2 files changed, 78 insertions(+), 0 deletions(-)
diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild
new file mode 100644
index 0000000..3c53782
--- /dev/null
+++ b/sys-apps/kmod/kmod-9999.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+#if LIVE
+AUTOTOOLS_AUTORECONF=yes
+EGIT_REPO_URI="git://git.profusion.mobi/${PN}.git
+ http://git.profusion.mobi/cgit.cgi/${PN}.git"
+
+inherit git-2
+#endif
+
+inherit autotools-utils multilib toolchain-funcs
+
+DESCRIPTION="Library and utilities for kernel module loading"
+HOMEPAGE="http://git.profusion.mobi/cgit.cgi/kmod.git/" # XXX
+SRC_URI="http://packages.profusion.mobi/kmod/${P}.tar.xz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug lzma static-libs +rootfs-install +tools zlib"
+
+RDEPEND="lzma? ( app-arch/xz-utils )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="rootfs-install? ( !lzma )"
+
+#if LIVE
+KEYWORDS=
+SRC_URI=
+#endif
+
+src_configure() {
+ myeconfargs=(
+ $(use rootfs-install && echo --exec-prefix=/)
+
+ $(use_with lzma xz)
+ $(use_with zlib)
+ $(use_enable debug)
+ $(use_enable tools)
+ )
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ if use rootfs-install; then
+ dodir /usr/$(get_libdir)
+ # move pkg-config file and static libs to /usr
+ if use static-libs; then
+ mv "${D}"/$(get_libdir)/*.a "${D}"/usr/$(get_libdir)/ || die
+ gen_usr_ldscript libkmod.so
+ sed -i -e 's:/lib:/usr/lib:' \
+ "${D}"/$(get_libdir)/pkgconfig/*.pc || die
+ fi
+ mv "${D}"/$(get_libdir)/pkgconfig "${D}"/usr/$(get_libdir)/ || die
+ fi
+}
diff --git a/sys-apps/kmod/metadata.xml b/sys-apps/kmod/metadata.xml
new file mode 100644
index 0000000..7a9255b
--- /dev/null
+++ b/sys-apps/kmod/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+
+ <use>
+ <flag name='rootfs-install'>Install the library into rootfs,
+ to satisfy dependencies of udev when using separate /usr.</flag>
+ <flag name='tools'>Install module loading/unloading tools.</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] dev/mgorny:master commit in: sys-apps/kmod/
@ 2012-01-05 21:42 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2012-01-05 21:42 UTC (permalink / raw
To: gentoo-commits
commit: b458e239f18732dcf07e315cffb8174177f17b96
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 5 19:21:18 2012 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 5 19:21:18 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=b458e239
sys-apps/kmod: Live ebuild now in gx86.
---
sys-apps/kmod/kmod-9999.ebuild | 64 ----------------------------------------
sys-apps/kmod/metadata.xml | 14 ---------
2 files changed, 0 insertions(+), 78 deletions(-)
diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild
deleted file mode 100644
index 3c53782..0000000
--- a/sys-apps/kmod/kmod-9999.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-#if LIVE
-AUTOTOOLS_AUTORECONF=yes
-EGIT_REPO_URI="git://git.profusion.mobi/${PN}.git
- http://git.profusion.mobi/cgit.cgi/${PN}.git"
-
-inherit git-2
-#endif
-
-inherit autotools-utils multilib toolchain-funcs
-
-DESCRIPTION="Library and utilities for kernel module loading"
-HOMEPAGE="http://git.profusion.mobi/cgit.cgi/kmod.git/" # XXX
-SRC_URI="http://packages.profusion.mobi/kmod/${P}.tar.xz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug lzma static-libs +rootfs-install +tools zlib"
-
-RDEPEND="lzma? ( app-arch/xz-utils )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="rootfs-install? ( !lzma )"
-
-#if LIVE
-KEYWORDS=
-SRC_URI=
-#endif
-
-src_configure() {
- myeconfargs=(
- $(use rootfs-install && echo --exec-prefix=/)
-
- $(use_with lzma xz)
- $(use_with zlib)
- $(use_enable debug)
- $(use_enable tools)
- )
-
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
-
- if use rootfs-install; then
- dodir /usr/$(get_libdir)
- # move pkg-config file and static libs to /usr
- if use static-libs; then
- mv "${D}"/$(get_libdir)/*.a "${D}"/usr/$(get_libdir)/ || die
- gen_usr_ldscript libkmod.so
- sed -i -e 's:/lib:/usr/lib:' \
- "${D}"/$(get_libdir)/pkgconfig/*.pc || die
- fi
- mv "${D}"/$(get_libdir)/pkgconfig "${D}"/usr/$(get_libdir)/ || die
- fi
-}
diff --git a/sys-apps/kmod/metadata.xml b/sys-apps/kmod/metadata.xml
deleted file mode 100644
index 7a9255b..0000000
--- a/sys-apps/kmod/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>mgorny@gentoo.org</email>
- <name>Michał Górny</name>
- </maintainer>
-
- <use>
- <flag name='rootfs-install'>Install the library into rootfs,
- to satisfy dependencies of udev when using separate /usr.</flag>
- <flag name='tools'>Install module loading/unloading tools.</flag>
- </use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-05 21:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-25 21:12 [gentoo-commits] dev/mgorny:master commit in: sys-apps/kmod/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2012-01-05 21:42 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox