diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 06:52:13 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-15 06:52:13 +0000 |
commit | 9f7759b3b1be5a3bc7794010a8ebf9334f017d2f (patch) | |
tree | fa4e093c6694ec0590cbbd9a7b86c1edddc43d72 /app-misc/wcd/wcd-6.0.4.ebuild | |
parent | ac35def7deb4a1eecfad26f0eb5907170b2ee5d7 (diff) |
gentoo auto-resync : 15:11:2022 - 06:52:13
Diffstat (limited to 'app-misc/wcd/wcd-6.0.4.ebuild')
-rw-r--r-- | app-misc/wcd/wcd-6.0.4.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/wcd/wcd-6.0.4.ebuild b/app-misc/wcd/wcd-6.0.4.ebuild new file mode 100644 index 000000000000..39d96c97f6f1 --- /dev/null +++ b/app-misc/wcd/wcd-6.0.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +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=1 UNINORM=1" + emake ${mycompile} +} + +src_install() { + cd src || die + local DOCS=( ../README.txt ) + default + emake DESTDIR="${ED}" DOTWCD=1 install-profile sysconfdir="/etc" +} |