summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-10-10 09:01:42 +0200
committerJeroen Roovers <jer@gentoo.org>2018-10-10 09:08:30 +0200
commitf6769214511c2b4ccfcabb737238a7698537f252 (patch)
treef985dc5194c08b81ab59a67719e4354e846e3e29 /dev-embedded/parapin/parapin-1.5.0.ebuild
parentapp-arch/dpkg: Version 1.19.2 (diff)
downloadgentoo-f6769214511c2b4ccfcabb737238a7698537f252.tar.gz
gentoo-f6769214511c2b4ccfcabb737238a7698537f252.tar.bz2
gentoo-f6769214511c2b4ccfcabb737238a7698537f252.zip
dev-embedded/parapin: Versions 1.5.0 1.5.1_beta1
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-embedded/parapin/parapin-1.5.0.ebuild')
-rw-r--r--dev-embedded/parapin/parapin-1.5.0.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-embedded/parapin/parapin-1.5.0.ebuild b/dev-embedded/parapin/parapin-1.5.0.ebuild
new file mode 100644
index 000000000000..0c172e5d1c89
--- /dev/null
+++ b/dev-embedded/parapin/parapin-1.5.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="A parallel port pin programming library"
+HOMEPAGE="http://parapin.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="LGPL-2.1"
+IUSE="doc"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+DEPEND="doc? ( dev-tex/latex2html )"
+
+src_compile() {
+ # Note 2.4 and 2.6 makefiles are identical for the targets used
+ emake -f Makefile-2.4 CC=$(tc-getCC)
+ use doc && emake -C doc html
+}
+
+src_install() {
+ dolib.a libparapin.a
+ insopts -m0444; insinto /usr/include; doins parapin.h
+
+ dodoc README
+ if use doc; then
+ cd "${S}"/doc/${PN}
+ docinto html
+ dodoc *.html *.css *.png
+
+ cd "${S}"/examples
+ docinto examples
+ dodoc *.c
+ fi
+}