Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/parapin/
Date: Wed, 10 Oct 2018 07:08:38
Message-Id: 1539155310.f6769214511c2b4ccfcabb737238a7698537f252.jer@gentoo
1 commit: f6769214511c2b4ccfcabb737238a7698537f252
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 10 07:01:42 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 10 07:08:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6769214
7
8 dev-embedded/parapin: Versions 1.5.0 1.5.1_beta1
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.11
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 dev-embedded/parapin/Manifest | 2 ++
14 dev-embedded/parapin/parapin-1.5.0.ebuild | 38 +++++++++++++++++++++++
15 dev-embedded/parapin/parapin-1.5.1_beta1.ebuild | 40 +++++++++++++++++++++++++
16 3 files changed, 80 insertions(+)
17
18 diff --git a/dev-embedded/parapin/Manifest b/dev-embedded/parapin/Manifest
19 index 50e5b0f5f35..698f8ca65a3 100644
20 --- a/dev-embedded/parapin/Manifest
21 +++ b/dev-embedded/parapin/Manifest
22 @@ -1 +1,3 @@
23 DIST parapin-1.0.0.tar.gz 240771 BLAKE2B 3c211d43028f1ee4b09568eae2408b96c9b3c1ecce5b81f3fd520ea3f480bb06044e99e04e7776b8a2b6cf7f99e57f2dcf186aea2ba9afbe4c31b9e0be3bc894 SHA512 43e4066b649bec8519c98052451ab1beb720c9c8086bbd045bb013e3c12c7e83bf0411ac4b8e7006c3acbc6d1487b918d26df65b246469e6c7e008a0e26874d9
24 +DIST parapin-1.5.0.tgz 249552 BLAKE2B 2a6621ec21542c35dbcae48f1bb93cd36621878b3bdfcb75f3b22aaa861e730a0f9f80f0d83eb4335d7d3b4c6c471e83003da5daea6dddc87b6e3c86ef2c7229 SHA512 732a2e4145f9dc2b765ecd1fd52d56409e69f4e3dc885f10d37661ab551604b986c95466e7d45265a268f7e759f6aa65537d1a8efcdd57d2d8b0ddfd3484728d
25 +DIST parapin-1.5.1-beta1.tgz 279115 BLAKE2B cce949828fec7654917da54be30ac6ed07baad615180adebbd12caba0c994e62ae95cc10a00c3653d23fe75afbe0721d6da901829a99a89ab355ea059c99d0f5 SHA512 3bc1a0a9fef5fd5f8efd84220e7e257a100d618d168332fe09c1331c38fc48e339bfda3f216713f454f43487fd7227036d8f1025ccc851806ae69326bfae97e0
26
27 diff --git a/dev-embedded/parapin/parapin-1.5.0.ebuild b/dev-embedded/parapin/parapin-1.5.0.ebuild
28 new file mode 100644
29 index 00000000000..0c172e5d1c8
30 --- /dev/null
31 +++ b/dev-embedded/parapin/parapin-1.5.0.ebuild
32 @@ -0,0 +1,38 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit toolchain-funcs
38 +
39 +DESCRIPTION="A parallel port pin programming library"
40 +HOMEPAGE="http://parapin.sourceforge.net/"
41 +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
42 +
43 +LICENSE="LGPL-2.1"
44 +IUSE="doc"
45 +KEYWORDS="~amd64 ~x86"
46 +SLOT="0"
47 +
48 +DEPEND="doc? ( dev-tex/latex2html )"
49 +
50 +src_compile() {
51 + # Note 2.4 and 2.6 makefiles are identical for the targets used
52 + emake -f Makefile-2.4 CC=$(tc-getCC)
53 + use doc && emake -C doc html
54 +}
55 +
56 +src_install() {
57 + dolib.a libparapin.a
58 + insopts -m0444; insinto /usr/include; doins parapin.h
59 +
60 + dodoc README
61 + if use doc; then
62 + cd "${S}"/doc/${PN}
63 + docinto html
64 + dodoc *.html *.css *.png
65 +
66 + cd "${S}"/examples
67 + docinto examples
68 + dodoc *.c
69 + fi
70 +}
71
72 diff --git a/dev-embedded/parapin/parapin-1.5.1_beta1.ebuild b/dev-embedded/parapin/parapin-1.5.1_beta1.ebuild
73 new file mode 100644
74 index 00000000000..51556291ee4
75 --- /dev/null
76 +++ b/dev-embedded/parapin/parapin-1.5.1_beta1.ebuild
77 @@ -0,0 +1,40 @@
78 +# Copyright 1999-2018 Gentoo Authors
79 +# Distributed under the terms of the GNU General Public License v2
80 +
81 +EAPI=7
82 +inherit toolchain-funcs
83 +
84 +DESCRIPTION="A parallel port pin programming library"
85 +HOMEPAGE="http://parapin.sourceforge.net/"
86 +SRC_URI="mirror://sourceforge/${PN}/${P/_/-}.tgz"
87 +
88 +LICENSE="LGPL-2.1"
89 +IUSE="doc"
90 +KEYWORDS="~amd64 ~x86"
91 +SLOT="0"
92 +
93 +DEPEND="doc? ( dev-tex/latex2html )"
94 +
95 +S=${WORKDIR}/${P/_/-}
96 +
97 +src_compile() {
98 + # Note 2.4 and 2.6 makefiles are identical for the targets used
99 + emake -f Makefile-2.4 CC=$(tc-getCC)
100 + use doc && emake -C doc html
101 +}
102 +
103 +src_install() {
104 + dolib.a libparapin.a
105 + insopts -m0444; insinto /usr/include; doins parapin.h
106 +
107 + dodoc README
108 + if use doc; then
109 + cd "${S}"/doc/${PN}
110 + docinto html
111 + dodoc *.html *.css *.png
112 +
113 + cd "${S}"/examples
114 + docinto examples
115 + dodoc *.c
116 + fi
117 +}