diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-04-01 15:22:18 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-04-01 15:23:38 +0200 |
commit | 40a453ccd2fa02cb7bd8479009e58aec249b1a85 (patch) | |
tree | ff35d1a1956e301fd34954732dcb75a436311076 /dev-util | |
parent | profile: remove duplicated mask from package.mask (diff) | |
download | gentoo-40a453ccd2fa02cb7bd8479009e58aec249b1a85.tar.gz gentoo-40a453ccd2fa02cb7bd8479009e58aec249b1a85.tar.bz2 gentoo-40a453ccd2fa02cb7bd8479009e58aec249b1a85.zip |
dev-util/dialog: Version 1.3.20200327
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/dialog/Manifest | 1 | ||||
-rw-r--r-- | dev-util/dialog/dialog-1.3.20200327.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest index 737ae4e9cbbb..3b2958b7a358 100644 --- a/dev-util/dialog/Manifest +++ b/dev-util/dialog/Manifest @@ -2,3 +2,4 @@ DIST dialog-1.3-20170131.tgz 507783 BLAKE2B a98c436eabc8d06619bd64a8b1d647a07126 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 +DIST dialog-1.3-20200327.tar.gz 547962 BLAKE2B b335d8b57d9a9f3a7e303aa3b2c64736007b66618a79c79368d9dba20a8123813cdeb7d0643bf7c6d147314963ff469b6e41d2378fe9181081fa543f0aca50f2 SHA512 c8c7ccd86fa189a2b6739320f59f127512e53f908ed257280099f8c45754da98d2095835d0c14090cd071af0ed6e8ff95f9938f5ca8027b0b7001c7fd746fe59 diff --git a/dev-util/dialog/dialog-1.3.20200327.ebuild b/dev-util/dialog/dialog-1.3.20200327.ebuild new file mode 100644 index 000000000000..7a23e6577d51 --- /dev/null +++ b/dev-util/dialog/dialog-1.3.20200327.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 ~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 +} |