2012-05-20 13:54:12 +04:00
|
|
|
# Copyright 1999-2011 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
|
|
|
|
inherit eutils
|
|
|
|
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
|
|
EGIT_REPO_URI=${EGIT_REPO_URI:-"git://github.com/backbone/network-profile.git"}
|
2015-10-12 19:44:08 +03:00
|
|
|
inherit git-r3
|
2012-05-20 13:54:12 +04:00
|
|
|
KEYWORDS=""
|
|
|
|
else
|
|
|
|
SRC_URI="ftp://backbone.ws/projects/network-profile/${P}.tar.bz2"
|
|
|
|
KEYWORDS="-* ~x86 ~amd64"
|
|
|
|
fi
|
|
|
|
|
2013-06-21 10:22:58 +04:00
|
|
|
DESCRIPTION="Gentoo network profiling"
|
2012-05-20 13:54:12 +04:00
|
|
|
|
|
|
|
HOMEPAGE="https://chili.backbone.ws/projects/network-profile"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
|
|
# Allow user patches to be applied without modifying the ebuild
|
|
|
|
epatch_user
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
|
|
emake install DESTDIR="${D}"
|
|
|
|
else
|
|
|
|
emake install DESTDIR="${D}" || die
|
|
|
|
fi
|
|
|
|
}
|