diff options
Diffstat (limited to 'dev-util/dialog')
-rw-r--r-- | dev-util/dialog/Manifest | 4 | ||||
-rw-r--r-- | dev-util/dialog/dialog-1.3.20211107.ebuild | 2 | ||||
-rw-r--r-- | dev-util/dialog/dialog-1.3.20211214.ebuild | 53 |
3 files changed, 57 insertions, 2 deletions
diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest index 794771fe62e3..753c10f6b722 100644 --- a/dev-util/dialog/Manifest +++ b/dev-util/dialog/Manifest @@ -1,5 +1,7 @@ DIST dialog-1.3-20210621.tgz 563430 BLAKE2B 8ffb630ed67f303facd79ca72aaca89d32c55a2b504293105a72c596409828fffd3e5e5f603fb5bec7f8748358a03ddadc7f1cd6fb989d1b31af1fd8f1078d97 SHA512 bde13aaf215127d143aa0d37989e0bacb6bc23f007681aeff27683efa01a483106710ff756358e396c23e4c1f0355cd8a2b3bb362ae1c3a1a997e00835d53c2b DIST dialog-1.3-20211107.tgz 566509 BLAKE2B f2c045f60185c34eec18b878219fae10a5acca2dc8bec5d379de069c939a0079e1a95925f860944108c97c8ef4e32041966c423d8b294b2102311c9aa085301e SHA512 a6626092692ca61209f67caa7c5dec91f637e3ff002488a0e117ec80ce8fdf0ef50d3b11f67d84d8abb06145347a100de76223fb4b1f971a755c28de1be860ac +DIST dialog-1.3-20211214.tgz 565608 BLAKE2B f069968abe258942f27e010f8d14eafd270c45ae467d5131b41b57c0cc5a145a410fdaeab5f7fa221aa7dbea440f8e268d130e0f1f7389a224374b0047228156 SHA512 b76e7e1fc333550a9cc351e37e7121e98f48b2a1f78e8c0c528e2126db16ae14c4c5da088bc611cb12020836e75dd2a1d875561fe5eec6589c104252d4aa7626 EBUILD dialog-1.3.20210621-r1.ebuild 1280 BLAKE2B f3a52a7bb5ebfaa1b18be1d85c8d1f6dc970afed683cfa54c4c468e6c3abb9e741c97da1765d30a18c3a99537e3e3f1d05b263a7fc2a20c2870dd48418a1e616 SHA512 599039faed3b0a25e2c23382e4c837dc3a8c3ee5bd86921bc0be7046e0aa991d13cdbfbdcfb866784f583062447dd5a27a896af93255b42f5c11ca35bc5c1493 -EBUILD dialog-1.3.20211107.ebuild 1288 BLAKE2B cac0fb5481a56a82bfc72811b63044cd0c79d2dfcdc0dfa2371e34af141076dfb4a06618229897924c6b8d971ead2ffb0634bb2385a3e24cd28c1420f5de67c6 SHA512 054319ff13d7bf219700d700456ed1b2120a6d2abaababd45ab481c68213db55d241cbd935c75ff7cb7677d0e46d9ec426839e651e65b463ee8ce5008eddadd5 +EBUILD dialog-1.3.20211107.ebuild 1280 BLAKE2B f3a52a7bb5ebfaa1b18be1d85c8d1f6dc970afed683cfa54c4c468e6c3abb9e741c97da1765d30a18c3a99537e3e3f1d05b263a7fc2a20c2870dd48418a1e616 SHA512 599039faed3b0a25e2c23382e4c837dc3a8c3ee5bd86921bc0be7046e0aa991d13cdbfbdcfb866784f583062447dd5a27a896af93255b42f5c11ca35bc5c1493 +EBUILD dialog-1.3.20211214.ebuild 1288 BLAKE2B cac0fb5481a56a82bfc72811b63044cd0c79d2dfcdc0dfa2371e34af141076dfb4a06618229897924c6b8d971ead2ffb0634bb2385a3e24cd28c1420f5de67c6 SHA512 054319ff13d7bf219700d700456ed1b2120a6d2abaababd45ab481c68213db55d241cbd935c75ff7cb7677d0e46d9ec426839e651e65b463ee8ce5008eddadd5 MISC metadata.xml 461 BLAKE2B 82507f66df52f2e9c4f51c52fc346a517e4244b4902dac4d557b52c01fbcdc9547ec8b0b572870a2860f995932973fd2b97698fcf748fe4762f210e4b12b655c SHA512 b07779508297ef58d1fd0349700cb7c609a1d503ce99c4fc3bda84c5441dd52064116680459510adbc6e1b6d9173d53fccbd3d6c2130caeb1d822dca5082a334 diff --git a/dev-util/dialog/dialog-1.3.20211107.ebuild b/dev-util/dialog/dialog-1.3.20211107.ebuild index d9eb069d20c7..0c54076343ab 100644 --- a/dev-util/dialog/dialog-1.3.20211107.ebuild +++ b/dev-util/dialog/dialog-1.3.20211107.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0/15" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="examples minimal nls unicode" RDEPEND=">=sys-libs/ncurses-5.2-r5:=[unicode(+)?]" diff --git a/dev-util/dialog/dialog-1.3.20211214.ebuild b/dev-util/dialog/dialog-1.3.20211214.ebuild new file mode 100644 index 000000000000..d9eb069d20c7 --- /dev/null +++ b/dev-util/dialog/dialog-1.3.20211214.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P=${PN}-$(ver_rs 2 -) + +DESCRIPTION="Tool to display dialog boxes from a shell" +HOMEPAGE="https://invisible-island.net/dialog/" +SRC_URI="https://invisible-mirror.net/archives/dialog/${MY_P}.tgz" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0/15" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples minimal nls unicode" + +RDEPEND=">=sys-libs/ncurses-5.2-r5:=[unicode(+)?]" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" +BDEPEND="!minimal? ( sys-devel/libtool ) + virtual/pkgconfig" + +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 \ + $(use_enable nls) \ + $(use_with !minimal libtool) \ + --with-libtool-opts='-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 +} |