2015-04-23 09:32:38 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2012-06-01 12:53:39 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2012-06-01 12:53:39 +04:00
|
|
|
|
2015-04-23 09:32:38 +03:00
|
|
|
EAPI=5
|
2012-06-01 12:53:39 +04:00
|
|
|
inherit cmake-utils
|
|
|
|
|
|
|
|
DESCRIPTION="A simple CLI tool that display file system usage, with colors"
|
|
|
|
HOMEPAGE="http://projects.gw-computing.net/projects/dfc"
|
2015-04-23 09:32:38 +03:00
|
|
|
SRC_URI="http://projects.gw-computing.net/attachments/download/467/${P}.tar.gz"
|
2012-06-01 12:53:39 +04:00
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
2013-12-30 18:39:49 +04:00
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
2012-06-01 12:53:39 +04:00
|
|
|
IUSE="nls"
|
|
|
|
|
2015-05-08 13:10:42 +03:00
|
|
|
DEPEND="nls? (
|
|
|
|
virtual/libintl
|
|
|
|
sys-devel/gettext
|
|
|
|
)"
|
|
|
|
RDEPEND="nls? ( virtual/libintl )"
|
2012-06-01 12:53:39 +04:00
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
mycmakeargs=(
|
|
|
|
# avoid installing xdg config in /usr
|
|
|
|
-DXDG_CONFIG_DIR="${EPREFIX}"/etc/xdg
|
|
|
|
# use the standard Gentoo doc path
|
|
|
|
-DDFC_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF}
|
|
|
|
# disable automagic dependency
|
|
|
|
$(cmake-utils_use nls NLS_ENABLED)
|
2015-04-23 09:32:38 +03:00
|
|
|
-DLFS_ENABLED=ON
|
|
|
|
-DGRIM=OFF
|
2012-06-01 12:53:39 +04:00
|
|
|
)
|
|
|
|
|
|
|
|
cmake-utils_src_configure
|
|
|
|
}
|