From e6f4e744458fb62e4049aab61c3b31c188f3c3ab Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 8 Dec 2010 14:37:56 -0500 Subject: [PATCH] Bump to sci-libs/comedilib-9999 and add sci-misc/comedi-headers-9999. The tricky part is handling /usr/include/comedi.h, which is supplied by: * the kernel's staging comedi drivers (but not installed) drivers/staging/comedi/comedi.h * the Comedi module (installed via sci-misc/comedi-headers): include/linux/comedi.h * the Comedilib module (not installed) include/comedi.h The current CSV sources are very similar, but there are reasonable differences with the staging version. Hopefully everything works out ;). The dependency setup is based on media-libs/alsa-lib and media-sound/alsa-headers, which have to deal with a similar setup (in kernal driver, out of kernal driver, and userspace library). --- ChangeLog | 14 ++++++++++++++ Manifest | 3 +++ comedi-headers-9999.ebuild | 34 ++++++++++++++++++++++++++++++++++ metadata.xml | 9 +++++++++ 4 files changed, 60 insertions(+) create mode 100644 ChangeLog create mode 100644 Manifest create mode 100644 comedi-headers-9999.ebuild create mode 100644 metadata.xml diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..01fc9c5 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for sci-misc/comedi-headers +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +*comedi-headers-9999 (08 Dec 2010) + 08 Dec 2010; W. Trevor King ChangeLog, metadata.xml, comedi-headers-9999.ebuild : + - Created ebuild suite for comedi-headers. + - Added initial ChangeLog which should be updated whenever the + package is updated in any way. This changelog is targetted to + users. This means that the comments should well explained and + written in clean English. The details about writing correct + changelogs are explained in the skel.ChangeLog file which you can + find in the root directory of the portage repository. diff --git a/Manifest b/Manifest new file mode 100644 index 0000000..4de21db --- /dev/null +++ b/Manifest @@ -0,0 +1,3 @@ +EBUILD comedi-headers-9999.ebuild 609 RMD160 c4e30adb195651679b1e537b63a07e470e5bcbe3 SHA1 38007fe83a45227c7ef164273a7ec19ebb79cafa SHA256 b480d83507cf738b7eaf6cc072bd1786e4fd24837aeeec18b23b6e59fdf932e1 +MISC ChangeLog 723 RMD160 5e809e7ee0c16168f522641a245366c5cc5e4447 SHA1 0efa00db2f11749c660be8147faf7f598352ff72 SHA256 286e9996795e0ee897de957a621483f4337d924e48da77e7243c2e3bd5a8277d +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/comedi-headers-9999.ebuild b/comedi-headers-9999.ebuild new file mode 100644 index 0000000..b1fbf5e --- /dev/null +++ b/comedi-headers-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +ECVS_SERVER="cvs.comedi.org:/cvs/comedi" +ECVS_MODULE="comedi" +ECVS_LOCALNAME="${P}" + +inherit eutils cvs + +DESCRIPTION="Header files for Control and Measurement Device Interface kernel modules" +HOMEPAGE="http://www.comedi.org/" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="" +RDEPEND="" + +RESTRICT="binchecks strip" + +src_configure() { :; } + +src_compile() { :; } + +src_install() { + cd "${S}/include/linux" + insinto /usr/include/ + doins comedi.h || die "include failed" +} diff --git a/metadata.xml b/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + -- 2.26.2