gentoo-ebuilds/dev-tcltk/tkpng/tkpng-0.9-r2.ebuild
Lucio Sauer 794061a329
*/*: inline mirror://sourceforge
bump copyright of touched ebuilds to 2024

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-04-30 20:21:05 +02:00

47 lines
850 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_P="${PN}${PV}"
inherit autotools
DESCRIPTION="Implements support for loading and using PNG images with Tcl/Tk"
HOMEPAGE="http://www.muonics.com/FreeStuff/TkPNG/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}/${PV}/${MY_P}.tgz"
LICENSE="tcltk"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug threads"
RDEPEND="
>=dev-lang/tcl-8.4:=
>=dev-lang/tk-8.4:=
sys-libs/zlib
"
DEPEND="${RDEPEND}"
QA_CONFIG_IMPL_DECL_SKIP=(
stat64 # used to test for Large File Support
)
# test target in Makefile, but test not shipped
RESTRICT="test"
S="${WORKDIR}"/${MY_P}
src_prepare() {
default
# Clang 16
eautoreconf
}
src_configure() {
econf \
$(use_enable debug symbols) \
$(use_enable amd64 64bit) \
$(use_enable threads)
}