24 lines
617 B
Bash
24 lines
617 B
Bash
# Copyright 2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="ImGui-based GDB frontend"
|
|
HOMEPAGE="https://github.com/kyle-sylvestre/Tug"
|
|
SRC_URI="https://github.com/kyle-sylvestre/Tug/archive/refs/tags/v${PV}.tar.gz"
|
|
|
|
LICENSE="GPL-3.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
S="${WORKDIR}/Tug-${PV}"
|
|
|
|
DEPEND="x11-libs/libXcursor x11-libs/libXi x11-libs/libXinerama x11-libs/libXrandr dev-debug/gdb sys-devel/gcc dev-build/make"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND=""
|
|
src_build() {
|
|
emake DEBUG=0
|
|
}
|
|
src_install() {
|
|
mkdir -p ${D}/usr/bin
|
|
cp build_release/tug ${D}/usr/bin/tug
|
|
}
|