summaryrefslogtreecommitdiff
path: root/app-portage/epkg/epkg-0.4.ebuild
blob: 68cedb828d56623c4dfd4f6bf6029cb4b6f7c52c (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit eutils

DESCRIPTION="A simple portage wrapper which works like other package managers"
HOMEPAGE="https://github.com/jdhore/epkg"
SRC_URI="https://github.com/jdhore/${PN}/archive/${P}.tar.gz"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

S="${WORKDIR}/${PN}-${P}"
DEPEND=""
RDEPEND="app-portage/eix
		app-portage/gentoolkit
		sys-apps/portage"

src_prepare() {
	epatch "${FILESDIR}"/${PN}-sync-kogaion-portage-config.patch
}

src_install() {
	dobin epkg
	dobin "${FILESDIR}"/kogaionsync
	doman doc/epkg.1
}