/[gentoo-x86]/dev-embedded/parapin/parapin-1.0.0.ebuild
Gentoo

Contents of /dev-embedded/parapin/parapin-1.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jan 30 03:50:15 2005 UTC (9 years, 6 months ago) by dragonheart
Branch: MAIN
CVS Tags: HEAD
Initial import as per bug #79554
(Portage version: 2.0.51-r15)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="A parallel port pin programming library"
8 HOMEPAGE="http://parapin.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="LGPL-2.1"
12 IUSE="doc"
13 KEYWORDS="x86 ~amd64"
14
15 SLOT="0"
16
17 DEPEND="doc? ( dev-tex/latex2html )"
18 RDEPEND=""
19
20 src_compile() {
21 # Note 2.4 and 2.6 makefiles are identical for the targets used
22 emake -f Makefile-2.4 CC=$(tc-getCC) || die
23 }
24
25 src_install() {
26 dolib.a libparapin.a
27 insopts -m0444; insinto /usr/include; doins parapin.h
28
29 dodoc README
30 if use doc; then
31 cd doc
32 emake html
33 cd parapin
34 dohtml *.html *.css *.png
35
36 cd ${S}
37 docinto examples
38 dodoc examples/*.c
39 fi
40 }

  ViewVC Help
Powered by ViewVC 1.1.20