diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-01-30 03:50:15 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-01-30 03:50:15 +0000 |
commit | 13c1a31241e8bc6950d570953b15add0a9e4f12e (patch) | |
tree | a306586e281c53367260b2510191acdd8ca1fd07 /dev-embedded/parapin | |
parent | Bump. (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-embedded/parapin/ChangeLog | 10 | ||||
-rw-r--r-- | dev-embedded/parapin/Manifest | 2 | ||||
-rw-r--r-- | dev-embedded/parapin/files/digest-parapin-1.0.0 | 1 | ||||
-rw-r--r-- | dev-embedded/parapin/metadata.xml | 12 | ||||
-rw-r--r-- | dev-embedded/parapin/parapin-1.0.0.ebuild | 40 |
5 files changed, 65 insertions, 0 deletions
diff --git a/dev-embedded/parapin/ChangeLog b/dev-embedded/parapin/ChangeLog new file mode 100644 index 000000000000..99f2759f8d81 --- /dev/null +++ b/dev-embedded/parapin/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-embedded/parapin +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/parapin/ChangeLog,v 1.1 2005/01/30 03:50:15 dragonheart Exp $ + +*parapin-1.0.0 (30 Jan 2005) + + 30 Jan 2005; Daniel Black <dragonheart@gentoo.org> +metadata.xml, + +parapin-1.0.0.ebuild: + Initial import as per bug #79554. Thanks to Luke Worth <luke_worth@hotpop.com> + diff --git a/dev-embedded/parapin/Manifest b/dev-embedded/parapin/Manifest new file mode 100644 index 000000000000..3659eb9f8d81 --- /dev/null +++ b/dev-embedded/parapin/Manifest @@ -0,0 +1,2 @@ +MD5 1fac3621e3d41ba38cf88c37863b0a19 parapin-1.0.0.ebuild 784 +MD5 568a2741a903e8bc3cbd932c5c50c5e1 files/digest-parapin-1.0.0 65 diff --git a/dev-embedded/parapin/files/digest-parapin-1.0.0 b/dev-embedded/parapin/files/digest-parapin-1.0.0 new file mode 100644 index 000000000000..0cc3606d5932 --- /dev/null +++ b/dev-embedded/parapin/files/digest-parapin-1.0.0 @@ -0,0 +1 @@ +MD5 1320b91811b22b277a9116e2762f97c0 parapin-1.0.0.tar.gz 240771 diff --git a/dev-embedded/parapin/metadata.xml b/dev-embedded/parapin/metadata.xml new file mode 100644 index 000000000000..77218159e415 --- /dev/null +++ b/dev-embedded/parapin/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/parapin-1.0.0.ebuild b/dev-embedded/parapin/parapin-1.0.0.ebuild new file mode 100644 index 000000000000..679501d2254c --- /dev/null +++ b/dev-embedded/parapin/parapin-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/parapin-1.0.0.ebuild,v 1.1 2005/01/30 03:50:15 dragonheart Exp $ + +inherit toolchain-funcs + +DESCRIPTION="A parallel port pin programming library" +HOMEPAGE="http://parapin.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +IUSE="doc" +KEYWORDS="x86 ~amd64" + +SLOT="0" + +DEPEND="doc? ( dev-tex/latex2html )" +RDEPEND="" + +src_compile() { + # Note 2.4 and 2.6 makefiles are identical for the targets used + emake -f Makefile-2.4 CC=$(tc-getCC) || die +} + +src_install() { + dolib.a libparapin.a + insopts -m0444; insinto /usr/include; doins parapin.h + + dodoc README + if use doc; then + cd doc + emake html + cd parapin + dohtml *.html *.css *.png + + cd ${S} + docinto examples + dodoc examples/*.c + fi +} |