gentoo/dev-tcltk/tktable/tktable-2.10.8.ebuild
Alfredo Tupone 240b365357
dev-tcltk/tktable: Do not use bool as variable name
Closes: https://bugs.gentoo.org/943985
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-04-05 23:54:54 +02:00

37 lines
823 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="full-featured 2D table widget"
HOMEPAGE="https://github.com/wjoye/tktable"
SRC_URI="https://github.com/wjoye/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc x86"
RESTRICT="test"
DEPEND=">=dev-lang/tk-8.0:="
RDEPEND="${DEPEND}"
HTML_DOCS=( doc/tkTable.html )
DOCS=( ChangeLog README.txt release.txt )
QA_CONFIG_IMPL_DECL_SKIP=(
opendir64 rewinddir64 closedir64 stat64 # used on AIX
)
PATCHES=(
"${FILESDIR}"/${PN}-2.10-parallelMake.patch
"${FILESDIR}"/${P}-clang6.patch
"${FILESDIR}"/${P}-nobool.patch
)
src_prepare() {
default
sed -e '/^install:/{s: install-doc::}' \
-e '/^PKG_EXTRA_FILES/{s:=.*:=:}' -i Makefile.in || die
}