dev-embedded/powersoftplus-libftdi - 0.1.8 (gentoo)

Search

Install

Install this version:

emerge -a =dev-embedded/powersoftplus-libftdi-0.1.8

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

autounmask =dev-embedded/powersoftplus-libftdi-0.1.8

Or alternatively:

emerge --autounmask-write -a =dev-embedded/powersoftplus-libftdi-0.1.8

Package Information

Description:
Library which includes a table of VIDs and PIDs of Ever UPS devices
Homepage:
http://www.ever.com.pl
License:
LGPL-2

Ebuild Details

Version EAPI Keywords Slot
0.1.8 7 ~x86 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools toolchain-funcs

MY_PN="${PN/-libftdi/}"
MY_P="${MY_PN}-${PV}"

TABFILE="libd2xx_table.so"
TABFILEDIR="libftdi/lib_table"

DESCRIPTION="Library which includes a table of VIDs and PIDs of Ever UPS devices"
HOMEPAGE="http://www.ever.com.pl"
SRC_URI="http://www.ever.com.pl/pl/pliki/${MY_P}-x86.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86"

PATCHES=(
	"${FILESDIR}/${PN}-0.1.8-LDFLAGS.patch"
)

src_prepare() {
	default
	eautoreconf
}

src_compile() {
	cd "${TABFILEDIR}" || die

	# Wipe out precompiled binary
	emake clean
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}

src_install() {
	ftditabfile="${TABFILEDIR}/${TABFILE}"
	dolib.so ${ftditabfile}
}

Inherited Eclasses

Manifest for 0.1.8

Type File Size Source URLs
DIST powersoftplus-0.1.8-x86.tar.gz 4746235 bytes http://www.ever.com.pl/pl/pliki/powersoftplus-0.1.8-x86.tar.gz