diff options
author | Sam James <sam@gentoo.org> | 2021-06-11 06:38:28 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-11 06:38:28 +0000 |
commit | 418826c58e5f35a2c4afd6266e32e351009db58e (patch) | |
tree | d527f70ecd7252c1247e86f87a3ab318f7f211ad /app-misc/wcd | |
parent | app-misc/tmux-xpanes: add 4.1.3 (diff) | |
download | gentoo-418826c58e5f35a2c4afd6266e32e351009db58e.tar.gz gentoo-418826c58e5f35a2c4afd6266e32e351009db58e.tar.bz2 gentoo-418826c58e5f35a2c4afd6266e32e351009db58e.zip |
app-misc/wcd: add 6.0.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/wcd')
-rw-r--r-- | app-misc/wcd/Manifest | 1 | ||||
-rw-r--r-- | app-misc/wcd/wcd-6.0.3.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/wcd/Manifest b/app-misc/wcd/Manifest index e0d3dcf326fc..72f7a3198884 100644 --- a/app-misc/wcd/Manifest +++ b/app-misc/wcd/Manifest @@ -1 +1,2 @@ DIST wcd-6.0.2.tar.gz 713062 BLAKE2B 13a745fd698b009aedb19e688a5deec7d62c42acf2dc430b7f586f300712ad684e8530a9b2477cf2d7a6540769efc98c245215cbe756b78c3902d03430b034d9 SHA512 587a52efaf0a585e4fc8a04a0eb08445cf4c78d38abd7592658f61827aa6cc0f1e8af8643c411d22d74145479c9970b018b11fc7a2a08b4ba7c850097813b06f +DIST wcd-6.0.3.tar.gz 813763 BLAKE2B 2e215c427914705213590d7c5182bebf39becbf24238bd71c5fdd12f7e63894b2ad571793f6d25833edd3f7cd4f3acbb07bbc821880c22d7a5d4f373cd972055 SHA512 b48a6f8a196725b4b570701813cf8a96e13e4fd6289b6c779218acc20ea1ea841e5f8648f717bb389976b715b95856e91bad3ffb20f8d80961d75eae8eacfbe8 diff --git a/app-misc/wcd/wcd-6.0.3.ebuild b/app-misc/wcd/wcd-6.0.3.ebuild new file mode 100644 index 000000000000..ba979cf09420 --- /dev/null +++ b/app-misc/wcd/wcd-6.0.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit 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 + virtual/pkgconfig +" +RDEPEND="${CDEPEND}" + +S="${WORKDIR}/${P}/src" + +src_prepare() { + eapply -p2 "${FILESDIR}"/${PN}-6.0.2-gentoo.patch + eapply_user + tc-export CC PKG_CONFIG +} + +src_compile() { + local mycompile="LFS=1" + use nls || mycompile+=" ENABLE_NLS=" + use unicode && mycompile+=" UCS=1 UNINORM=1" + emake ${mycompile} +} + +src_install() { + local DOCS=( ../README.txt ) + default + emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc" +} |