gpsim live ebuild
This commit is contained in:
parent
8393bc309d
commit
d5f321aedd
3
dev-embedded/gpsim/Manifest
Normal file
3
dev-embedded/gpsim/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST gpsim-0.31.0.tar.gz 3454179 BLAKE2B 449f891c7a765ce06da87c8de1a8adc0d7e15c9af175fc2988d604660108c14cc816247358a71bbb55813c5144f6973c01d3c9c27c44f2a45820b85cedc97d2c SHA512 a6af7e9170cee11c35f0e4731d39876e563edd8ca9cbd0f4b3017f224e5317b4c8bcc8aa4468102fa5c11157f487b6c7354e3aba8778842ed0b5be9bbb9ef45f
|
||||
EBUILD gpsim-0.31.0.ebuild 955 BLAKE2B 7ae00791751b242603a8ef1ad765c546c0bbd77c7b8abc1a4b49df856095a7aac7b24aecb574482a226ce3905cda27ef2d2c7e20caa2c778d8f16ff3775eb58f SHA512 ca2483aa7c51f84bb7fb0bc1a5ec717eee4dfaba7dd3b9c12b35bedd1415210cb87a2b9d15bfa0327b50ca9b3cb8180f1848c8b01a7b32dbabae20fb9c932c0b
|
||||
EBUILD gpsim-9999.ebuild 1134 BLAKE2B 1cf20deca03cfdf1cd52b748be12b895970ac6352b3a59e1ecdf715d10f811540980a963c46292c1a14a70a21ddc75aa364408a39d50a4eccd47f905606dcb11 SHA512 b5f9108f282050476373e3ef00d6d3c868f8dbcbc3513934f63c35e436de4e366a4ad1d09b0639b60a2e81560560bad0f61a1f47ad509f001da129ddadea6e63
|
45
dev-embedded/gpsim/gpsim-0.31.0.ebuild
Normal file
45
dev-embedded/gpsim/gpsim-0.31.0.ebuild
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2020 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit ltprune
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit subversion
|
||||
ESVN_REPO_URI="https://svn.code.sf.net/p/gpsim/code/trunk"
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
|
||||
DESCRIPTION="A simulator for the Microchip PIC microcontrollers"
|
||||
HOMEPAGE="http://gpsim.sourceforge.net"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc gtk static-libs"
|
||||
|
||||
RDEPEND=">=dev-embedded/gputils-0.12
|
||||
dev-libs/glib:2
|
||||
dev-libs/popt
|
||||
sys-libs/readline:0=
|
||||
gtk? ( >=x11-libs/gtk+extra-2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc"
|
||||
|
||||
DOCS=( ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable gtk gui) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use doc && dodoc doc/gpsim.pdf
|
||||
prune_libtool_files
|
||||
}
|
56
dev-embedded/gpsim/gpsim-9999.ebuild
Normal file
56
dev-embedded/gpsim/gpsim-9999.ebuild
Normal file
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2020 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit ltprune
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit autotools subversion
|
||||
ESVN_REPO_URI="https://svn.code.sf.net/p/gpsim/code/trunk"
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
|
||||
DESCRIPTION="A simulator for the Microchip PIC microcontrollers"
|
||||
HOMEPAGE="http://gpsim.sourceforge.net"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc gtk static-libs"
|
||||
|
||||
RDEPEND=">=dev-embedded/gputils-0.12
|
||||
dev-libs/glib:2
|
||||
dev-libs/popt
|
||||
sys-libs/readline:0=
|
||||
gtk? ( >=x11-libs/gtk+extra-2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
virtual/yacc"
|
||||
|
||||
DOCS=( ANNOUNCE AUTHORS ChangeLog HISTORY PROCESSORS README README.MODULES TODO )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-leak-sanitize \
|
||||
--enable-address-sanitize \
|
||||
--enable-undefined-sanitize \
|
||||
$(use_enable gtk gui) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use doc && dodoc doc/gpsim.pdf
|
||||
prune_libtool_files
|
||||
}
|
Loading…
Reference in New Issue
Block a user