1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 DESCRIPTION="A parallel port pin programming library"
8 HOMEPAGE="http://parapin.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
13 KEYWORDS="~amd64 ~x86"
16 DEPEND="doc? ( dev-tex/latex2html )"
19 # Note 2.4 and 2.6 makefiles are identical for the targets used
20 emake -f Makefile-2.4 CC=$(tc-getCC)
21 use doc && emake -C doc html
26 insopts -m0444; insinto /usr/include; doins parapin.h
32 dodoc *.html *.css *.png