summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2007-06-17 16:52:46 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2007-06-17 16:52:46 +0000
commit257e35f0ce32922659fd7d48b174993423bb7b4b (patch)
tree835ae3bd878cece27ba1ee359030aa34704539b5 /sys-kernel
parentremove contacts, as 0.5 is already in portage (diff)
downloaddertobi123-257e35f0ce32922659fd7d48b174993423bb7b4b.tar.gz
dertobi123-257e35f0ce32922659fd7d48b174993423bb7b4b.tar.bz2
dertobi123-257e35f0ce32922659fd7d48b174993423bb7b4b.zip
Import Rivendell
svn path=/; revision=9
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/gpio/Manifest12
-rw-r--r--sys-kernel/gpio/files/digest-gpio-0.9.63
-rw-r--r--sys-kernel/gpio/files/sandbox.patch24
-rw-r--r--sys-kernel/gpio/gpio-0.9.6.ebuild51
4 files changed, 90 insertions, 0 deletions
diff --git a/sys-kernel/gpio/Manifest b/sys-kernel/gpio/Manifest
new file mode 100644
index 0000000..b6891b3
--- /dev/null
+++ b/sys-kernel/gpio/Manifest
@@ -0,0 +1,12 @@
+AUX sandbox.patch 667 RMD160 f5d2ebb752d85acb4bff76c4fd9c412d95df2e0c SHA1 d26094b40d79bef0375c572aee28323783831c1f SHA256 3fa1ec6028516c7e4c8b9c3722694d5cd879c92dcee17e4f28046b9868a23e74
+MD5 00726fa86eaf606412cd05cfb972141f files/sandbox.patch 667
+RMD160 f5d2ebb752d85acb4bff76c4fd9c412d95df2e0c files/sandbox.patch 667
+SHA256 3fa1ec6028516c7e4c8b9c3722694d5cd879c92dcee17e4f28046b9868a23e74 files/sandbox.patch 667
+DIST gpio-0.9.6.tar.gz 113324 RMD160 45c31fb6d741841285a9cc6324d2d6219f3be217 SHA1 b3c0b1f7d60cc509056e8bb7bdd52e11c64a5fc7 SHA256 3bf2d7d4e8bc32e9eeea6f52365940f2d9cbd7a9d4744fb8621271242835c3ab
+EBUILD gpio-0.9.6.ebuild 1036 RMD160 f69ad7638956638e26f5a1f035080947e06bb49a SHA1 1fbc9d5584e46d85d6431cac357d99d2978f5300 SHA256 2ee14fd5ee85c448ecdbe27661cb32c7eb4a777181a219641ffef8d2909f795d
+MD5 e91bcb3ea0aa05ec03e3b20770b1b2d8 gpio-0.9.6.ebuild 1036
+RMD160 f69ad7638956638e26f5a1f035080947e06bb49a gpio-0.9.6.ebuild 1036
+SHA256 2ee14fd5ee85c448ecdbe27661cb32c7eb4a777181a219641ffef8d2909f795d gpio-0.9.6.ebuild 1036
+MD5 18f1912f4f6303c13aa070ccca9ff7bf files/digest-gpio-0.9.6 232
+RMD160 1b21d460f753704a999d3b150915d3d18d4a750a files/digest-gpio-0.9.6 232
+SHA256 084186a2e8b7c0e34069ed6953ba21fdea07173cdbfa226fcf26f3a30789bd85 files/digest-gpio-0.9.6 232
diff --git a/sys-kernel/gpio/files/digest-gpio-0.9.6 b/sys-kernel/gpio/files/digest-gpio-0.9.6
new file mode 100644
index 0000000..2d72dbe
--- /dev/null
+++ b/sys-kernel/gpio/files/digest-gpio-0.9.6
@@ -0,0 +1,3 @@
+MD5 96068c9b9879262a860ef34fc40f9050 gpio-0.9.6.tar.gz 113324
+RMD160 45c31fb6d741841285a9cc6324d2d6219f3be217 gpio-0.9.6.tar.gz 113324
+SHA256 3bf2d7d4e8bc32e9eeea6f52365940f2d9cbd7a9d4744fb8621271242835c3ab gpio-0.9.6.tar.gz 113324
diff --git a/sys-kernel/gpio/files/sandbox.patch b/sys-kernel/gpio/files/sandbox.patch
new file mode 100644
index 0000000..39de61e
--- /dev/null
+++ b/sys-kernel/gpio/files/sandbox.patch
@@ -0,0 +1,24 @@
+--- Makefile-2.6.in.old 2007-06-16 23:28:40.000000000 +0200
++++ Makefile-2.6.in 2007-06-16 23:31:26.000000000 +0200
+@@ -18,8 +18,8 @@
+ # Boston, MA 02111-1307 USA
+ #
+
+-INCLUDE_DIR = /usr/include/linux
+-INIT_DIR = /etc/init.d
++INCLUDE_DIR = ${D}/usr/include/linux
++INIT_DIR = ${D}/etc/init.d
+
+ ifneq ($(KERNELRELEASE),)
+ obj-m := gpio.o
+@@ -33,7 +33,9 @@
+ endif
+
+ install: default
+- cp gpio.ko /lib/modules/`uname -r`/kernel/drivers/char/
++ mkdir -p ${D}/lib/modules/`uname -r`/kernel/drivers/char/
++ cp gpio.ko ${D}/lib/modules/`uname -r`/kernel/drivers/char/
++ mkdir -p ${INCLUDE_DIR}
+ cp gpio.h $(INCLUDE_DIR)/
+ mkdir -p $(INIT_DIR)
+ cp gpio $(INIT_DIR)
diff --git a/sys-kernel/gpio/gpio-0.9.6.ebuild b/sys-kernel/gpio/gpio-0.9.6.ebuild
new file mode 100644
index 0000000..f8b8bc0
--- /dev/null
+++ b/sys-kernel/gpio/gpio-0.9.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gfs-kernel/gfs-kernel-1.04.00.ebuild,v 1.2 2007/05/12 13:28:14 xmerlin Exp $
+
+inherit eutils linux-mod linux-info
+
+DESCRIPTION="MeasurementComputing GPIO Driver"
+HOMEPAGE="http://www.rivendellaudio.org"
+SRC_URI="http://www.rivendellaudio.org/ftpdocs/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND=">=virtual/linux-sources-2.6.17"
+
+RDEPEND=""
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ case ${KV_FULL} in
+ 2.2.*|2.4.*) die "${P} supports only 2.6 kernels";;
+ esac
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/sandbox.patch
+}
+
+src_compile() {
+ set_arch_to_kernel
+
+ econf || die "configure problem"
+ emake || die "compile problem"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "install problem"
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo ""
+ einfo "Please remember to re-emerge ${PN} when you upgrade your kernel!"
+ einfo ""
+}