From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-misc/wcd/wcd-6.0.1.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app-misc/wcd/wcd-6.0.1.ebuild (limited to 'app-misc/wcd/wcd-6.0.1.ebuild') diff --git a/app-misc/wcd/wcd-6.0.1.ebuild b/app-misc/wcd/wcd-6.0.1.ebuild new file mode 100644 index 000000000000..2cf0a5de0ec4 --- /dev/null +++ b/app-misc/wcd/wcd-6.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" + +src_prepare() { + eapply -p2 "${FILESDIR}"/${PN}-6.0.1-gentoo.patch + eapply_user + 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" +} -- cgit v1.2.3