summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-02-22 16:10:07 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-02-22 16:47:44 +0100
commitb4b80128034a1b320d3df9ea2e3ac9066b707a84 (patch)
treee4cfd2a2f586b66a2962f03e087caa636d0c5266 /app-misc
parentdev-python/python-systemd: amd64 stable wrt bug #606308 (diff)
downloadgentoo-b4b80128034a1b320d3df9ea2e3ac9066b707a84.tar.gz
gentoo-b4b80128034a1b320d3df9ea2e3ac9066b707a84.tar.bz2
gentoo-b4b80128034a1b320d3df9ea2e3ac9066b707a84.zip
app-misc/wcd: Bump to version 6.0.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/wcd/Manifest1
-rw-r--r--app-misc/wcd/wcd-6.0.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/app-misc/wcd/Manifest b/app-misc/wcd/Manifest
index 55630251f58c..aed3d34433f6 100644
--- a/app-misc/wcd/Manifest
+++ b/app-misc/wcd/Manifest
@@ -1,3 +1,4 @@
DIST wcd-5.2.7.tar.gz 622613 SHA256 e5f56824e054c6726186271b20a5de3c5b167116b97785a925907981cf3e3b39 SHA512 9f5b89d8160f685b729234cc8c03f16b795797dd6eaf2d9e1bbf1949b27ef971908b78642679d3bf1d99b128b390cd5dbd211e4ff03b0539dd287c578088e02e WHIRLPOOL 3354e380dceaed394e0eb9bac3f474edc819270a117baf5812a1e7252b2cef207862746af2b21dd71de837459bc6281a45a9099f5a6351def49e3c1ce780960d
DIST wcd-5.3.3.tar.gz 598963 SHA256 4976545e50601eb47635f230804a7e654a83b9c6ad35c0a7b44d2b3ca264f6eb SHA512 df9b2fffa0bd3c558b2c61633d30a092e79aa8c7a08a64281cff6f0b9b7de5fc4a632d16f74ec5b4166922cf5da6048edfc8a73e0ddae308d3f986f3bd8a0f67 WHIRLPOOL f287d5583c03113201b8a43b9b59f55bf1dc30428cd436586ccbaf6dfc086480dd2ccdb7c6e972d766c85603149d08561abd0d28d5a52742f895b9b23098772d
DIST wcd-5.3.4.tar.gz 610630 SHA256 8c56a76016ff6b5a4be656dd563bf8f58c7be3a6101cef5485e544b12211dae6 SHA512 fdb6e000876fffbc7bce6e6157282c2b8ef9929c896e5dbd8533314d575cf31656df76cd5c408bb2e495a1fda7f179b122ea2a58da94d5d55d1e2b9c658adc94 WHIRLPOOL adb42aae240fd3ae40fc03418d2ace7ea9d72f0aaec38ab37a231b27ba630dd3a00d0e0af3bca8d05932cfb29019bfeed1ad0dcbbb1998c86b324c20d211d87b
+DIST wcd-6.0.0.tar.gz 615838 SHA256 3f9090fff08a2a57f747471bfd9229a411229b41347488729da8d2c2b3eaa156 SHA512 965a6e52324605e6de5bb26ee0abc927a5e06a9f843ce1c4b65359b52418973bf84278c2f5f24fabbfa7342f40f79f4648d616df9a6ce0e9eca5c108ee49f50d WHIRLPOOL 221b5a907982baaff18bc2a6e2d23aff5326a4fad57f38c6c17f1bbe873e058e2f0bdf24084dfb7dd11af1a18d6bcb3a0792278102616b425678d1585f6e0b28
diff --git a/app-misc/wcd/wcd-6.0.0.ebuild b/app-misc/wcd/wcd-6.0.0.ebuild
new file mode 100644
index 000000000000..451e4218a65c
--- /dev/null
+++ b/app-misc/wcd/wcd-6.0.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Wherever Change Directory"
+HOMEPAGE="http://waterlan.home.xs4all.nl/#WCD_ANCHOR"
+SRC_URI="http://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="nls unicode"
+
+CDEPEND="
+ sys-libs/ncurses:0=[unicode?]
+ unicode? ( dev-libs/libunistring )"
+DEPEND="${CDEPEND}
+ app-text/ghostscript-gpl"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}"/${P}/src
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.3.4-gentoo.patch
+)
+
+src_prepare() {
+ # Required for stupid eapply function
+ pushd .. &>/dev/null || die
+ default
+ popd &>/dev/null || die
+ tc-export CC
+}
+
+src_compile() {
+ local mycompile="LFS=1"
+ use nls || mycompile="${mycompile} ENABLE_NLS="
+ use unicode && mycompile="${mycompile} UCS=1 UNINORM=1"
+ emake \
+ ${mycompile}
+}
+
+src_install() {
+ local DOCS=( ../README.txt )
+ default
+ emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
+}