blob: bd80fca07e3c5e2e9eca5efd9990168fc436ca93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux-mem-cpu-load/tmux-mem-cpu-load-2.2.1.ebuild,v 1.1 2013/11/15 13:14:37 wired Exp $
EAPI="3"
inherit cmake-utils
IUSE=""
if [[ ${PV} == *9999* ]]; then
inherit git
EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/thewtex/tmux-mem-cpu-load.git"}
KEYWORDS=""
SRC_URI=""
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/thewtex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
DESCRIPTION="CPU, RAM memory, and load monitor for use with tmux"
HOMEPAGE="http://github.com/thewtex/tmux-mem-cpu-load/"
LICENSE="Apache-2.0"
SLOT="0"
src_prepare() {
if [[ ${PV} == *9999* ]]; then
git_src_prepare
else
cd "${WORKDIR}"/thewtex-${PN}-*
S=$(pwd)
fi
}
src_install() {
cmake-utils_src_install
dodoc README.rst || die
}
|