commit:     3a7539491c60ad562a18c7c6a203d5884be807c0
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 07:19:04 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 07:19:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a753949

app-misc/wcd: Bump to version 5.3.3

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-misc/wcd/Manifest         |  1 +
 app-misc/wcd/wcd-5.3.3.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/app-misc/wcd/Manifest b/app-misc/wcd/Manifest
index 7a82643..2627eae 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.1.tar.gz 625579 SHA256 
bd1705529311e8825a20af742c4c4004857917c623ee9e8fc63ff5c1fb56d525 SHA512 
c06882e901555d36fc863fba80ea3bf9633aae4d20e8f151f81c871b3280744bc2cbb66d63d17fe9fd7f0e305a6509c3c198a4366e7fc1a5667ef41e60b61a74
 WHIRLPOOL 
d8baff515bd7938272c7cd323408f19ad7c8a8a4f17914d56543d852568237e86728534dabc7ef3ae7a559e23d71f3229b885dc54109447553bc1dc5384ac7e1
 DIST wcd-5.3.2.tar.gz 595071 SHA256 
a16434cb7a177ec8e9be67a1cfe7f6406a7c9190726d0ead5c44afdc4b8d3612 SHA512 
3bc8fc27f170576530066bdd0af66887a4ffdd8824c36985d55588c575729b25b4c713cf67f2d70c820fdb7ed7fdaef89375673bc96c7251e74f786fb9501c08
 WHIRLPOOL 
eb198f8ea14fd5d9d4f092abce00ece7e7428afe26bb7a4cdb43ee487ad4bc5fae27e0a3c7b357007037ab2d8d4cad6f63f08f9ca2ff90db7b64cf09521fe51b
+DIST wcd-5.3.3.tar.gz 598963 SHA256 
4976545e50601eb47635f230804a7e654a83b9c6ad35c0a7b44d2b3ca264f6eb SHA512 
df9b2fffa0bd3c558b2c61633d30a092e79aa8c7a08a64281cff6f0b9b7de5fc4a632d16f74ec5b4166922cf5da6048edfc8a73e0ddae308d3f986f3bd8a0f67
 WHIRLPOOL 
f287d5583c03113201b8a43b9b59f55bf1dc30428cd436586ccbaf6dfc086480dd2ccdb7c6e972d766c85603149d08561abd0d28d5a52742f895b9b23098772d

diff --git a/app-misc/wcd/wcd-5.3.3.ebuild b/app-misc/wcd/wcd-5.3.3.ebuild
new file mode 100644
index 00000000..94d357d
--- /dev/null
+++ b/app-misc/wcd/wcd-5.3.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 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.2.5-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"
+}

Reply via email to