summaryrefslogtreecommitdiff
blob: 43e9fb5c14c36f7f0f1da1ef142db7f765deadee (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="4"

inherit git-2 eutils

DESCRIPTION=""
HOMEPAGE="http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=shortlog;h=refs/heads/public_api"
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/portage.git"
EGIT_BRANCH="public_api"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=">=sys-apps/portage-2.1.9.42"
RDEPEND="${DEPEND}"

src_install() {
	API_PATH="pym/portage/api/"
	dodir /usr/$(get_libdir)/portage/${API_PATH}
	insinto /usr/$(get_libdir)/portage/${API_PATH}
	for file in `ls ${S}/${API_PATH}`; do
		newins  ${S}/${API_PATH}/$file $file
	done
}