forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-firmware/sigrok-firmware-fx2lafw: Version bump
Package-Manager: Portage-2.3.0, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
DIST sigrok-firmware-fx2lafw-0.1.2.tar.gz 148798 SHA256 85c658f851fd90089382756b4c5f0326f96d630a0ad5637455a84a4a058b3572 SHA512 b1f90e06227dcd3832bb61267ef8d20a7b4df702228b884c13725e472ed56bd971a46e2b4104bde666abc599edbe20cdbb51e30ee423b07c27ab1093de5953df WHIRLPOOL bbe4705b39424c86f92ecef4d4b13e1fbf21c27e306edc8674358fc6c62a665c35753d58c53dc8177fb939443029f83ac33f1c97db66829be304919b2ffd83f1 | ||
DIST sigrok-firmware-fx2lafw-0.1.3.tar.gz 128057 SHA256 f75102c4008f89c50fef7f5f5fc144d7a4b3a2cccfcbf181d9dc7015708e7c09 SHA512 60ed3bc41ec29217436f0aeff6058ad565f0e04ff00fac61f7be5c9f3dbfcfe1b0f09ef4168e67a58b2e93ff575f895afe79110e70245db020281f8efa25e0b4 WHIRLPOOL ea2352223c90d1bab22b0d631ed1cf043a3c5ce00f4f6a5f97d42dfae48716748b63bd6a87b232c47660d0de17be227eb9dc7d3af9e721f7208aa8eaee4b2b1e | ||
DIST sigrok-firmware-fx2lafw-0.1.4.tar.gz 140696 SHA256 ce6bb503703bab1ea846fc5acd6b8b43e0fe8521eda632292fd9f83b24c70d8c SHA512 19b2b75d2e08804b15ba8f5cae5eca854f1b56a7b1c30b01b0c6611ff6b1fd5a80c2b90d686fd37a1d0c677974070ef61b2fb131b8094d36c38578a4a4ddbcfd WHIRLPOOL 115a9324b9e6165b12f82175ed87908c58a53e20047dcb2b8bdb4e5dbe9d0095b7ed8093b8681ee9115bcf827dcc516c3788aac3ce401f47557624184c056691 | ||
DIST sigrok-firmware-fx2lafw-bin-0.1.2.tar.gz 36486 SHA256 f28d411240a2f460d334e89ad18f5a632fa2a0f4afa25e030a26b41200351c70 SHA512 74d52e5200886ba3328f411e46419ed6d6892fe2ba6c0f66a94b19be82f7d04837d8a41093d1c14ce73609f84f6277956c9c44febab8a7f150c32ba7f7ab28b1 WHIRLPOOL 039a803d8e8177e731435276b03816910fba35ed51d0ac744bdff1df1ef603a728bb2046a5f057fa135ac648eb9f2c838ec16d345b1961e1fc28f411836f378e | ||
DIST sigrok-firmware-fx2lafw-bin-0.1.3.tar.gz 38531 SHA256 741d84ccd40b506957629b4a541380c67d7f845001775372c75bd993bc1520e3 SHA512 b7df7d55fba2e9e3a823f80a1f1df2232631875a4f3fe57e4ef52fa9bf8d307524baf9cb7602d61b89698f12d9bcc9d6f93bd9be30fb8027f320229b089730f4 WHIRLPOOL 5191f179899461460e3b6137242d43a37621ea3a56ec43f00f25b9da72b7e6cf2642b4215019ecb9e84c680deafe5c595ab701c8653db840aa546197a8c2abac | ||
DIST sigrok-firmware-fx2lafw-bin-0.1.4.tar.gz 48760 SHA256 e48ae384fdcf3f552b91fb35d1a49fd211cfdadebbdbbb5b31befb8eb0f8a35a SHA512 06d2fa53408666360629eaf738bda676da0616da90530e3fd6c529c2b54e9432ab3893d7bfe6e185e43fc8166ac6733fd573778e55d529a8d84dcd44d7f8a4ca WHIRLPOOL 44ed927a4884e83029584f848803e6266677e76f1888b1b71c7e98520e2fb07eff1d61aa2dc77419745c4e963bbecad4254c701a3ec5daf4042804df1f80f355 |
54 changes: 54 additions & 0 deletions
54
sys-firmware/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-0.1.4.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="6" | ||
|
||
SDCC_DEPEND=">=dev-embedded/sdcc-2.9.0[device-lib(+),mcs51(+)]" | ||
|
||
if [[ ${PV} == "9999" ]]; then | ||
EGIT_REPO_URI="git://sigrok.org/${PN}" | ||
IUSE="" | ||
inherit git-r3 autotools | ||
else | ||
SRC_URI="binary? ( http://sigrok.org/download/binary/${PN}/${PN}-bin-${PV}.tar.gz ) | ||
!binary? ( http://sigrok.org/download/source/${PN}/${P}.tar.gz )" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="binary" | ||
SDCC_DEPEND="!binary? ( ${SDCC_DEPEND} )" | ||
fi | ||
|
||
DESCRIPTION="open-source firmware for Cypress FX2 chips which makes them usable as simple logic analyzer hardware" | ||
HOMEPAGE="http://sigrok.org/wiki/Fx2lafw" | ||
|
||
LICENSE="GPL-2+" | ||
SLOT="0" | ||
|
||
RDEPEND="" | ||
DEPEND="${RDEPEND} | ||
${SDCC_DEPEND}" | ||
|
||
src_unpack() { | ||
if [[ ${PV} == "9999" ]]; then | ||
git-r3_src_unpack | ||
else | ||
default | ||
# The binary & source dirs are slightly diff. | ||
use binary && S="${WORKDIR}/${PN}-bin-${PV}" | ||
fi | ||
} | ||
|
||
src_prepare() { | ||
[[ ${PV} == "9999" ]] && eautoreconf | ||
eapply_user | ||
} | ||
|
||
src_install() { | ||
if [[ ${PV} != "9999" ]] && use binary ; then | ||
insinto /usr/share/sigrok-firmware | ||
doins *.fw | ||
dodoc ChangeLog NEWS README | ||
else | ||
default | ||
fi | ||
} |