summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-01-30 03:50:15 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-01-30 03:50:15 +0000
commit13c1a31241e8bc6950d570953b15add0a9e4f12e (patch)
treea306586e281c53367260b2510191acdd8ca1fd07 /dev-embedded/parapin-driver
parentBump. (diff)
downloadgentoo-2-13c1a31241e8bc6950d570953b15add0a9e4f12e.tar.gz
gentoo-2-13c1a31241e8bc6950d570953b15add0a9e4f12e.tar.bz2
gentoo-2-13c1a31241e8bc6950d570953b15add0a9e4f12e.zip
Initial import as per bug #79554
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-embedded/parapin-driver')
-rw-r--r--dev-embedded/parapin-driver/ChangeLog10
-rw-r--r--dev-embedded/parapin-driver/Manifest4
-rw-r--r--dev-embedded/parapin-driver/files/digest-parapin-driver-1.0.01
-rw-r--r--dev-embedded/parapin-driver/metadata.xml12
-rw-r--r--dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild40
5 files changed, 67 insertions, 0 deletions
diff --git a/dev-embedded/parapin-driver/ChangeLog b/dev-embedded/parapin-driver/ChangeLog
new file mode 100644
index 000000000000..c3ecb86b77a5
--- /dev/null
+++ b/dev-embedded/parapin-driver/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-embedded/parapin-driver
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/parapin-driver/ChangeLog,v 1.1 2005/01/30 03:46:46 dragonheart Exp $
+
+*parapin-driver-1.0.0 (30 Jan 2005)
+
+ 30 Jan 2005; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +parapin-driver-1.0.0.ebuild:
+ Initial import as per bug #79554. Thanks to Luke Worth <luke_worth@hotpop.com>
+
diff --git a/dev-embedded/parapin-driver/Manifest b/dev-embedded/parapin-driver/Manifest
new file mode 100644
index 000000000000..a519fc4d64b2
--- /dev/null
+++ b/dev-embedded/parapin-driver/Manifest
@@ -0,0 +1,4 @@
+MD5 640ea5741c24342ba15ca0137b18fb1b parapin-driver-1.0.0.ebuild 1000
+MD5 625daaf92ddb106a2f3a608ff34a0533 metadata.xml 823
+MD5 7d0d711f620993e2df78171c465eec8f ChangeLog 347
+MD5 568a2741a903e8bc3cbd932c5c50c5e1 files/digest-parapin-driver-1.0.0 65
diff --git a/dev-embedded/parapin-driver/files/digest-parapin-driver-1.0.0 b/dev-embedded/parapin-driver/files/digest-parapin-driver-1.0.0
new file mode 100644
index 000000000000..0cc3606d5932
--- /dev/null
+++ b/dev-embedded/parapin-driver/files/digest-parapin-driver-1.0.0
@@ -0,0 +1 @@
+MD5 1320b91811b22b277a9116e2762f97c0 parapin-1.0.0.tar.gz 240771
diff --git a/dev-embedded/parapin-driver/metadata.xml b/dev-embedded/parapin-driver/metadata.xml
new file mode 100644
index 000000000000..77218159e415
--- /dev/null
+++ b/dev-embedded/parapin-driver/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>dev-embedded</herd>
+<longdescription>
+Parapin makes it easy to write C code under Linux that controls individual pins on a PC parallel port. This kind of control is very useful for
+electronics projects that use the PC's parallel port as a generic digital I/O interface. Parapin goes to great lengths to insulate the programmer
+from the somewhat complex parallel port programming interface provided by the PC hardware, making it easy to use the parallel port for digital
+I/O. By the same token, this abstraction also makes Parapin less useful in applications that need to actually use the parallel port as a parallel
+port (e.g., for talking to a printer).
+</longdescription>
+</pkgmetadata>
diff --git a/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild b/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild
new file mode 100644
index 000000000000..a2f52eca64ef
--- /dev/null
+++ b/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild,v 1.1 2005/01/30 03:46:46 dragonheart Exp $
+
+inherit linux-mod toolchain-funcs
+
+DESCRIPTION="Parallel port pin kernel modules supported bug dev-embedded/parapin"
+HOMEPAGE="http://parapin.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P/-driver}.tar.gz"
+
+LICENSE="LGPL-2.1"
+IUSE=""
+KEYWORDS="x86 ~amd64"
+
+S=${WORKDIR}/${P/-driver}
+
+DEPEND="virtual/os-headers"
+RDEPEND=""
+
+MODULE_NAMES="kparapin(kernel:kparapin) parapindriver(kernel:parapindriver)"
+BUILD_TARGETS="clean modules"
+BUILD_PARAMS="CC=$(tc-getCC) LINUX_SRC=${KV_DIR} -C .."
+
+CONFIG_CHECK="PARPORT"
+PARPORT_ERROR="Please make sure Device Drivers -> Parallel port support is enabled in your kernel"
+
+src_compile() {
+ if kernel_is ge 2 6; then
+ ./setup-2.6.sh || die "setup-2.6.sh failed"
+ else
+ ./setup-2.4.sh || die "setup-2.4.sh failed"
+ fi
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+ insinto /usr/include
+ doins parapindriver.h
+}