Собственно, учусь писать ебилды, пробую написать ебилд для app-text/sdcv относительно новой версии. Вот текущее состояние файла:
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/sdcv/sdcv-0.5.0_beta2.ebuild $
EAPI=5
inherit cmake-utils
DESCRIPTION="Console version of Stardict program"
HOMEPAGE="http://sdcv.sourceforge.net"
MY_PV="0.5.0-beta2-Source"
MY_PF="${PN}-${MY_PV}"
S="${WORKDIR}/${MY_PF}"
SRC_URI="mirror://sourceforge/${PN}/${MY_PF}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="nls"
RDEPEND="sys-libs/zlib
sys-libs/readline
>=dev-libs/glib-2.6.1"
DEPEND="${RDEPEND}
nls? ( >=sys-devel/gettext-0.14.1 )"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_with nls)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
dodoc AUTHORS NEWS README THANKS TODO
}
А вот какую ошибку выдает при попытке установки:
>>> Source compiled.
>>> Test phase [not enabled]: app-text/sdcv-0.5.0_beta2
>>> Install sdcv-0.5.0_beta2 into /portage_tmp/portage/app-text/sdcv-0.5.0_beta2/image/ category app-text
>>> Working in BUILD_DIR: "/portage_tmp/portage/app-text/sdcv-0.5.0_beta2/work/sdcv-0.5.0_beta2_build"
make -j2 install
[100%] Built target sdcv
Install the project...
-- Install configuration: "Gentoo"
-- Installing: /portage_tmp/portage/app-text/sdcv-0.5.0_beta2/image/usr/bin/sdcv
-- Installing: /portage_tmp/portage/app-text/sdcv-0.5.0_beta2/image/usr/share/man/man1/sdcv.1
-- Installing: /portage_tmp/portage/app-text/sdcv-0.5.0_beta2/image/usr/share/man/uk/man1/sdcv.1
CMake Error at cmake_install.cmake:60 (file):
file INSTALL cannot find
"/portage_tmp/portage/app-text/sdcv-0.5.0_beta2/work/sdcv-0.5.0_beta2_build/locale".
Makefile:86: recipe for target 'install' failed
make: *** [install] Error 1
* ERROR: app-text/sdcv-0.5.0_beta2::localoverlay failed (install phase):
* emake failed
Что скажете?