dev-embedded/gpsim: add 0.32.0

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2023-11-03 16:02:30 +02:00
parent a2c4621981
commit 226e8a4517
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST gpsim-0.31.0.tar.gz 3454179 BLAKE2B 449f891c7a765ce06da87c8de1a8adc0d7e15c9af175fc2988d604660108c14cc816247358a71bbb55813c5144f6973c01d3c9c27c44f2a45820b85cedc97d2c SHA512 a6af7e9170cee11c35f0e4731d39876e563edd8ca9cbd0f4b3017f224e5317b4c8bcc8aa4468102fa5c11157f487b6c7354e3aba8778842ed0b5be9bbb9ef45f
DIST gpsim-0.32.0.tar.gz 3621850 BLAKE2B 6f9d6e7e3a2dc83a61c560de72117ba1faa97bd4e33ef275a47037783dd5c99561ecd124bd5a665b542c596ce94bfd682b8d7ca21326960b187503ea681f1936 SHA512 fe3b310efedeb72edb5eb963cd66be2a8f63e14ddb80f702962fdc90e551e1ee409f4c1b099c88f706b2d5d2d3ee5a53dfe1306c09686bb42e34cfca46eef9de

View File

@@ -0,0 +1,50 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="A simulator for the Microchip PIC microcontrollers"
HOMEPAGE="https://gpsim.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
RDEPEND="
>=dev-embedded/gputils-0.12
dev-libs/glib:2
dev-libs/popt
sys-libs/readline:0=
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/flex
virtual/pkgconfig
app-alternatives/yacc
"
DOCS=( ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO )
src_prepare() {
default
# empty directory that causes build failure
sed -e '/^SUBDIRS/d' -i doc/Makefile.am
eautoreconf
}
src_configure() {
local myeconfargs=(
--disable-gui
--disable-static
)
econf "${myeconfargs[@]}"
}
src_install() {
default
dodoc doc/gpsim.pdf
find "${ED}" -name '*.la' -delete || die
}