You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
704 B

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Free (Y)unicode text editor for all unices"
HOMEPAGE="https://www.yudit.org/"
SRC_URI="https://yudit.org/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}"
BDEPEND="sys-devel/gettext"
DOCS=( {BUGS,CHANGELOG,NEWS,TODO}.TXT )
src_prepare() {
default
# Don't strip binaries, let portage do that.
# Don't call ar / ranlib directly
sed -i \
-e "/^INSTALL_PROGRAM/s| -s||" \
-e "s|ar cr|$(tc-getAR) cr|g" \
-e "s|ranlib|$(tc-getRANLIB)|g" \
Makefile.conf.in || die "sed failed"
}