dev-embedded/parapin - 1.5.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-embedded/parapin-1.5.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-embedded/parapin-1.5.0

Or alternatively:

emerge --autounmask-write -a =dev-embedded/parapin-1.5.0

Package Information

Description:
A parallel port pin programming library
Homepage:
https://parapin.sourceforge.net/
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
1.5.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="A parallel port pin programming library"
HOMEPAGE="https://parapin.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tgz"

LICENSE="LGPL-2.1"
IUSE="doc"
KEYWORDS="~amd64 ~x86"
SLOT="0"

PATCHES=(
	"${FILESDIR}"/${P}-tc-directly.patch
)

src_compile() {
	tc-export AR CC
	# Note 2.4 and 2.6 makefiles are identical for the targets used
	emake -f Makefile-2.4
}

src_install() {
	einstalldocs
	dolib.a libparapin.a
	insopts -m0444;	insinto /usr/include; doins parapin.h

	if use doc; then
		cd examples || die
		docinto examples
		dodoc *.c
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-embedded/parapin | euse -E <flag> -p dev-embedded/parapin | euse -D <flag> -p dev-embedded/parapin

Global/Standard Flags

doc

Inherited Eclasses

Manifest for 1.5.0

Type File Size Source URLs
DIST parapin-1.5.0.tgz 249552 bytes https://downloads.sourceforge.net/parapin/parapin-1.5.0.tgz