summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-05-11 12:06:40 +0200
committerJeroen Roovers <jer@gentoo.org>2017-05-11 12:06:40 +0200
commit8da10fa44e66f44a36d7eda72af00b18bc191580 (patch)
tree5908f5aba1eeda06b685d24d98dcc4444d743f5f /dev-util
parentmedia-sound/audacity: Removed old. (diff)
downloadgentoo-8da10fa44e66f44a36d7eda72af00b18bc191580.tar.gz
gentoo-8da10fa44e66f44a36d7eda72af00b18bc191580.tar.bz2
gentoo-8da10fa44e66f44a36d7eda72af00b18bc191580.zip
dev-util/dialog: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/dialog/Manifest1
-rw-r--r--dev-util/dialog/dialog-1.3.20170509.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest
index 59db47707017..83a168c8d797 100644
--- a/dev-util/dialog/Manifest
+++ b/dev-util/dialog/Manifest
@@ -1,2 +1,3 @@
DIST dialog-1.3-20160828.tgz 501960 SHA256 453095abaec288bfbc1ca9faced917e17742cff1ea45ec46210071ac153562f9 SHA512 aa0329578c8b0580e52b1f6aad5c7179bc519c3791cf115b035e28f25e5f48d7a626faa1a322b81365646018a2f8b09f67f4df0629899b50aa5ce7190b022113 WHIRLPOOL 17d107febd1d94380074aac69c4c1e47b9bc565dd39d5009ac82095506686dd6c283c4709ec6aef3f8ec186d21a636924a12ee26c301b5743eaa6b8c64ebe6d1
DIST dialog-1.3-20170131.tgz 507783 SHA256 81baec14cb7d76951763576ec276210b3a869e768ad5e2e6ee1cc53420ece8c9 SHA512 818b4e9d0d5ee55377b78ccceacf59a78e5e6d6fbc09e24a19e62b4988ff8de32f3364132b9ee88c86e126114eda45c82d86397d5f26fae81a6bda91be979786 WHIRLPOOL 33fdc9f3ebf129560a412ff2bdae3b14648f31925d76bc4085613bcd7b74606c2e63f76b7b86af4c032d82b987ee5bea81b49998f07a0d7d83651189c701aaa6
+DIST dialog-1.3-20170509.tgz 509135 SHA256 2ff1ba74c632b9d13a0d0d2c942295dd4e8909694eeeded7908a467d0bcd4756 SHA512 dd3fe2041a15dd344ea39a1ba111d3b26daca1cda91a4e82f1223385a49cdf3de15f11129366a20c5a24b16b5301f215543850a390d70d0559f98247bbd49a56 WHIRLPOOL 6a98e9737d601ef58499c0a8c38464fb17566bbe3534eedb6184abee14389cea73d33ecc999179edd533ab7515395060eb37e9a402c43072597713d594743798
diff --git a/dev-util/dialog/dialog-1.3.20170509.ebuild b/dev-util/dialog/dialog-1.3.20170509.ebuild
new file mode 100644
index 000000000000..7e7ae2ee659f
--- /dev/null
+++ b/dev-util/dialog/dialog-1.3.20170509.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils multilib versionator
+
+MY_P="${PN}-$(replace_version_separator 2 '-')"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="tool to display dialog boxes from a shell"
+HOMEPAGE="http://invisible-island.net/dialog/dialog.html"
+SRC_URI="ftp://invisible-island.net/${PN}/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0/14"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+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 )
+ !<=sys-freebsd/freebsd-contrib-8.9999
+"
+
+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
+
+ prune_libtool_files
+}