diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-embedded/parapin/parapin-1.0.0.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-embedded/parapin/parapin-1.0.0.ebuild')
-rw-r--r-- | dev-embedded/parapin/parapin-1.0.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
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..20d1b8d355c9 --- /dev/null +++ b/dev-embedded/parapin/parapin-1.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |