diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-03-23 16:01:44 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-03-23 16:01:59 +0100 |
commit | 9b79e598d8f86e22699783cef2b7be7bc43ee4be (patch) | |
tree | 1b454e483165480ae8a8de48771bcf2107088ca8 /dev-util/dialog | |
parent | media-sound/pulseeffects: 4.7.2 bump (diff) | |
download | gentoo-9b79e598d8f86e22699783cef2b7be7bc43ee4be.tar.gz gentoo-9b79e598d8f86e22699783cef2b7be7bc43ee4be.tar.bz2 gentoo-9b79e598d8f86e22699783cef2b7be7bc43ee4be.zip |
dev-util/dialog: Version 1.3.20200228
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-util/dialog')
-rw-r--r-- | dev-util/dialog/Manifest | 1 | ||||
-rw-r--r-- | dev-util/dialog/dialog-1.3.20200228.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest index 846202399f40..737ae4e9cbbb 100644 --- a/dev-util/dialog/Manifest +++ b/dev-util/dialog/Manifest @@ -1,3 +1,4 @@ DIST dialog-1.3-20170131.tgz 507783 BLAKE2B a98c436eabc8d06619bd64a8b1d647a0712630f0f89565253636ef2f38333ca6926177aa0c2001305b0c06fc7a1f576cda87da493183402ef9ec3cdc3fa8be23 SHA512 818b4e9d0d5ee55377b78ccceacf59a78e5e6d6fbc09e24a19e62b4988ff8de32f3364132b9ee88c86e126114eda45c82d86397d5f26fae81a6bda91be979786 DIST dialog-1.3-20191110.tar.gz 540825 BLAKE2B 972d5b9d73c413274f09a590886838010feb55817ec94416dbf0da645824e92df9f7e02b9fbf22c226f2fa213876a6fa6de4f1af1ce94a93c53f22ede8d30926 SHA512 858a0cc095a4d52ce50bb77cc46a95ef64bcff1dc9526eb352b8d1d8884949186d1ea93af342eab8cf8a236efc9357bc5be2d1f1564a6f64536026bc1b894397 DIST dialog-1.3-20191210.tar.gz 541569 BLAKE2B 358349c85afdbe9f1dc9c05b75337980c7ca3f7c6e9429314e8c24af722f696f12383b776828660441b5337c815fcf93b18076e0601e20dd940e0a8a304bb198 SHA512 4196287f26da2aab8376141a1442bccea52bcc6f7003042101df0c6a72aa3e25aa909d9fbcb937b047ab12a2e4349ec4b71b26f6e5cd4ba41cfd5665f732975d +DIST dialog-1.3-20200228.tar.gz 544523 BLAKE2B 18551ea08fc6ca8cce37604cc468143e57e562648b7c1b7eb8abc0157f69d7b279ea65aa81d8435fdbc60944dff15d3d716e769a1103b0abbd8f4acb7e5bc011 SHA512 c2454421d32a61c6618b0262154d770ad0d194dd3999c0a95d6f08b59527dcf3f9d2ddc082a52df9ae6e28154fde73884b3b957285ee9f765b4ed79d304ee49c diff --git a/dev-util/dialog/dialog-1.3.20200228.ebuild b/dev-util/dialog/dialog-1.3.20200228.ebuild new file mode 100644 index 000000000000..f119f530eae5 --- /dev/null +++ b/dev-util/dialog/dialog-1.3.20200228.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIA_P=${PN}-$(ver_cut 1-2)-$(ver_cut 3) +DESCRIPTION="tool to display dialog boxes from a shell" +HOMEPAGE="https://invisible-island.net/dialog/" +SRC_URI="https://dev.gentoo.org/~jer/${DIA_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/15" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="examples minimal nls static-libs unicode" + +RDEPEND=" + >=sys-libs/ncurses-5.2-r5:=[unicode?] +" +DEPEND=" + ${RDEPEND} + nls? ( sys-devel/gettext ) + !minimal? ( sys-devel/libtool ) +" +S=${WORKDIR}/${DIA_P} + +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() { + econf \ + --disable-rpath-hack \ + $(use_enable nls) \ + $(use_with !minimal libtool) \ + --with-libtool-opts=$(usex static-libs '' '-shared') \ + --with-ncurses$(usex unicode w '') +} + +src_install() { + use minimal && default || emake DESTDIR="${D}" install-full + + use examples && dodoc -r samples + + dodoc CHANGES README + + find "${ED}" -name '*.la' -delete || die +} |