diff options
author | Ned Ludd <solar@gentoo.org> | 2004-11-22 01:22:23 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-11-22 01:22:23 +0000 |
commit | 46e2461ad09ad92efbae5f04ef7ed073df68eb7a (patch) | |
tree | 25542b30e71f04808bece33b0056a6548ed64fa4 /dev-embedded | |
parent | fresh release (Manifest recommit) (diff) | |
download | gentoo-2-46e2461ad09ad92efbae5f04ef7ed073df68eb7a.tar.gz gentoo-2-46e2461ad09ad92efbae5f04ef7ed073df68eb7a.tar.bz2 gentoo-2-46e2461ad09ad92efbae5f04ef7ed073df68eb7a.zip |
Initial Commit of Soekris net4xxx GPIO and error LED driver
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/gpio/ChangeLog | 9 | ||||
-rw-r--r-- | dev-embedded/gpio/Manifest | 4 | ||||
-rw-r--r-- | dev-embedded/gpio/files/digest-gpio-1.3.2 | 1 | ||||
-rw-r--r-- | dev-embedded/gpio/gpio-1.3.2.ebuild | 43 | ||||
-rw-r--r-- | dev-embedded/gpio/metadata.xml | 9 |
5 files changed, 66 insertions, 0 deletions
diff --git a/dev-embedded/gpio/ChangeLog b/dev-embedded/gpio/ChangeLog new file mode 100644 index 000000000000..101d388202ab --- /dev/null +++ b/dev-embedded/gpio/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-embedded/gpio +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpio/ChangeLog,v 1.1 2004/11/22 01:22:23 solar Exp $ + +*gpio-1.3.2 (21 Nov 2004) + + 21 Nov 2004; <solar@gentoo.org> +metadata.xml, +gpio-1.3.2.ebuild: + Initial Commit of Soekris net4xxx GPIO and error LED driver + diff --git a/dev-embedded/gpio/Manifest b/dev-embedded/gpio/Manifest new file mode 100644 index 000000000000..e6868142f91d --- /dev/null +++ b/dev-embedded/gpio/Manifest @@ -0,0 +1,4 @@ +MD5 828c47c634683fe8893bf93fd83e7fb7 gpio-1.3.2.ebuild 965 +MD5 a44bdd35205320422a9e48297045129d ChangeLog 277 +MD5 e6cd00da7d3b559f359f8b7544753876 metadata.xml 305 +MD5 15d4606e7c3e0aeecb186c841c2db62a files/digest-gpio-1.3.2 61 diff --git a/dev-embedded/gpio/files/digest-gpio-1.3.2 b/dev-embedded/gpio/files/digest-gpio-1.3.2 new file mode 100644 index 000000000000..e03d12d12b38 --- /dev/null +++ b/dev-embedded/gpio/files/digest-gpio-1.3.2 @@ -0,0 +1 @@ +MD5 c8789f961cd97a48a6eb7d12c7128855 gpio-1.3.2.tar.gz 24869 diff --git a/dev-embedded/gpio/gpio-1.3.2.ebuild b/dev-embedded/gpio/gpio-1.3.2.ebuild new file mode 100644 index 000000000000..1e9a9fdf6b34 --- /dev/null +++ b/dev-embedded/gpio/gpio-1.3.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpio/gpio-1.3.2.ebuild,v 1.1 2004/11/22 01:22:23 solar Exp $ + +inherit kernel-mod + +DESCRIPTION="Soekris net4501/4801 GPIO and error LED driver" +HOMEPAGE="http://soekris.hejl.de/" +SRC_URI="http://soekris.hejl.de/gpio-${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +RDEPEND="" +DEPEND="virtual/libc" + +S=${WORKDIR}/${PN}-${PV} + +src_unpack() { + unpack ${A} + cd ${S} || die + chmod -x * + + check_KV +} + +src_compile() { + emake KERNELDIR=${ROOT}/usr/src/linux || die "FAILED: make" +} + +src_install() { + dodir /lib/modules/${KV}/kernel/drivers/ + cp gpio.o writelcd.o ${D}/lib/modules/${KV}/kernel/drivers/ || die "installing modules failed" + + # Setup gpio device nods. + #cat /proc/devices |sed -e "/\([0-9]*\).*gpio.*/!D;s/\([0-9]*\).*/\1/" + local major=254 + dodir /dev + mknod ${D}/dev/gpio0 c $major 0 + mknod ${D}/dev/gpio1 c $major 1 + mknod ${D}/dev/gpio254 c $major 254 + chmod 664 ${D}/dev/gpio[0-1] +} diff --git a/dev-embedded/gpio/metadata.xml b/dev-embedded/gpio/metadata.xml new file mode 100644 index 000000000000..917942cd04ca --- /dev/null +++ b/dev-embedded/gpio/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>embedded</herd> +<maintainer> + <email>solar@gentoo.org</email> +</maintainer> +<longdescription>Soekris net4501/4801 GPIO and error LED driver.</longdescription> +</pkgmetadata> |