mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
gdb-dashboard: new ebuild
This commit is contained in:
parent
0398353f8c
commit
cc3e312e07
4 changed files with 64 additions and 0 deletions
1
sys-devel/gdb-dashboard/Manifest
Normal file
1
sys-devel/gdb-dashboard/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST gdb-dashboard-0.11.1.tar.gz 20788 BLAKE2B e81f5ee54d0e01c043287c681c1d6bc7ca57ba94e6a89683a4c04ee52b7ce0f2ffc6089f9ef09934bb6597c248131632ca079c6d2ad788ce8bf8f860211db495 SHA512 aa36bfc0a500f81d284ac8834c7ba7a4dec52a2bac8067067ad371f03a043b402d7f40bb7b2b0a8f9557454aa0ae4558041aeecc97d64cb90eb0ee07bd59bb59
|
||||
1
sys-devel/gdb-dashboard/gdb-dashboard-0.11.1.ebuild
Symbolic link
1
sys-devel/gdb-dashboard/gdb-dashboard-0.11.1.ebuild
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
./gdb-dashboard-9999.ebuild
|
||||
54
sys-devel/gdb-dashboard/gdb-dashboard-9999.ebuild
Normal file
54
sys-devel/gdb-dashboard/gdb-dashboard-9999.ebuild
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="Modular visual interface for GDB in Python"
|
||||
HOMEPAGE="https://github.com/cyrus-and/gdb-dashboard"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/cyrus-and/gdb-dashboard"
|
||||
else
|
||||
SRC_URI="https://github.com/cyrus-and/gdb-dashboard/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
sys-devel/gdb[python]"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
newins .gdbinit gdbinit
|
||||
|
||||
cat > "${D}/usr/share/${PN}/${PN}" <<-_EOF_ || die
|
||||
# Use this commad for installing:
|
||||
# gdb -x /usr/share/${PN}/${PN} <program>
|
||||
|
||||
source /usr/share/${PN}/gdbinit
|
||||
_EOF_
|
||||
|
||||
make_wrapper $PN \
|
||||
"gdb -x /usr/share/${PN}/${PN}"
|
||||
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "\nFor using put the command:"
|
||||
einfo " gdb -x /usr/share/${PN}/${PN} <program>"
|
||||
einfo "or"
|
||||
einfo " ${PN} <program>\n"
|
||||
}
|
||||
8
sys-devel/gdb-dashboard/metadata.xml
Normal file
8
sys-devel/gdb-dashboard/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue