diff options
author | Pascal Jäger <pascal.jaeger@leimstift.de> | 2023-09-01 15:50:58 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-09-02 16:32:24 +0300 |
commit | 3026d476bbc4f1add97ef2e3a1d849dac4ff759c (patch) | |
tree | d2583990f1a67d0cb68961a612f72c860dd808ef /app-misc/wcd/wcd-6.0.5.ebuild | |
parent | net-wireless/iwd: remove crda checks now done in wireless-regdb (diff) | |
download | gentoo-3026d476bbc4f1add97ef2e3a1d849dac4ff759c.tar.gz gentoo-3026d476bbc4f1add97ef2e3a1d849dac4ff759c.tar.bz2 gentoo-3026d476bbc4f1add97ef2e3a1d849dac4ff759c.zip |
app-misc/wcd: add 6.0.5
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/32550
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-misc/wcd/wcd-6.0.5.ebuild')
-rw-r--r-- | app-misc/wcd/wcd-6.0.5.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/wcd/wcd-6.0.5.ebuild b/app-misc/wcd/wcd-6.0.5.ebuild new file mode 100644 index 000000000000..5ccc91c1fbb2 --- /dev/null +++ b/app-misc/wcd/wcd-6.0.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Wherever Change Directory" +HOMEPAGE="https://waterlan.home.xs4all.nl/wcd.html" +SRC_URI="https://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="nls unicode" + +RDEPEND=" + sys-libs/ncurses:=[unicode(+)?] + unicode? ( dev-libs/libunistring:= )" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/ghostscript-gpl + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.0.4-gentoo.patch + "${FILESDIR}"/${PN}-6.0.3-doc-path.patch +) + +src_prepare() { + default + tc-export CC PKG_CONFIG +} + +src_compile() { + cd src || die + local mycompile="LFS=1" + use nls || mycompile+=" ENABLE_NLS=" + use unicode || mycompile+=" UCS= UNINORM=" + emake ${mycompile} +} + +src_install() { + cd src || die + local DOCS=( ../README.txt ) + default + emake DESTDIR="${ED}" DOTWCD=1 install-profile sysconfdir="/etc" +} |