mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/dialog: add 1.3.20250817
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
DIST dialog-1.3-20250116.tgz 575032 BLAKE2B 8c0ea6e265a28046677b8c2111c047383218bb50973bae68f9e8d80043c9c7fceb87cdc1de3e42118880d9934ed7736e9e059b743a1f70cad9bce1d904905919 SHA512 6c371c6f42871c07ea6d56f8d11e338ef781ea345da57da5168bf950f1114eaeb975e7f2a48ccf3e77a4cecd01a01f460ddb6ab4e7d70eb27256226ea7cebd75
|
||||
DIST dialog-1.3-20250116.tgz.asc 729 BLAKE2B 85d13394abeb22e0707a2b6f6d985f4937b1ab3c9d150b199a4d8aa3fb090ac496d5cae05cf301281cf4a234599aee26b96667d25b78ff9a735b3c610025aed4 SHA512 9b22ca1771dce99f3b056184add74094180165052c69c2d02753c26f4b566ad21b37c40c0c99c1868092023152d7957fa022ce5b558d911b7d3d018cba30ece5
|
||||
DIST dialog-1.3-20250817.tgz 575508 BLAKE2B 94654412f5a5872c9981c644c1521f49cbc48ed44a0b2b009da91a9847c0080c9983d5ad3cad7aa0ef87f01f33ad16c219596f9d855df1c01ce0786539b040a8 SHA512 c1b5f1df243b4ee44c7d0ab4cbed22b4fd66412ee8194a9dd715fecbd242db541dc53237e0d0ccf1eb11a61f81879aeeb3fe7578d8ad48a070fc5aa4b86c743e
|
||||
DIST dialog-1.3-20250817.tgz.asc 729 BLAKE2B fd86be9cdcf549c251793cd64f878929deb4f8b4311f076430d17509e0486b7fb80e6ef9481741af6de8064b6ebb12d7b131cd160b281c2cb6cb4ef12b9f96a9 SHA512 00117b3276a9d8a0f22c83a652b328b365a8e51a663f8d29622db662ae45c7efc580be6d9560775659c9d1e0e6af36678ed7232e63a8cf5d8149ee3d6f24615a
|
||||
|
||||
62
dev-util/dialog/dialog-1.3.20250817.ebuild
Normal file
62
dev-util/dialog/dialog-1.3.20250817.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_P=${PN}-$(ver_rs 2 -)
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/thomasdickey.asc
|
||||
inherit verify-sig
|
||||
|
||||
DESCRIPTION="Tool to display dialog boxes from a shell"
|
||||
HOMEPAGE="https://invisible-island.net/dialog/"
|
||||
SRC_URI="https://invisible-island.net/archives/dialog/${MY_P}.tgz"
|
||||
SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/dialog/${MY_P}.tgz.asc )"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/15"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="examples nls unicode"
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.2-r5:=[unicode(+)?]"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-build/libtool
|
||||
virtual/pkgconfig
|
||||
verify-sig? ( sec-keys/openpgp-keys-thomasdickey )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die
|
||||
sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
export ac_cv_prog_LIBTOOL=glibtool
|
||||
fi
|
||||
|
||||
econf \
|
||||
--disable-rpath-hack \
|
||||
--with-pkg-config \
|
||||
--enable-pc-files \
|
||||
$(use_enable nls) \
|
||||
--with-libtool \
|
||||
--with-libtool-opts='-shared' \
|
||||
--with-ncurses$(usev unicode w)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install-full
|
||||
|
||||
use examples && dodoc -r samples
|
||||
|
||||
dodoc CHANGES README
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user