2017-01-26 22:26:53 +03:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
2016-12-22 15:12:31 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
DESCRIPTION="Graphical version of su written in C and GTK+ 2"
|
|
|
|
HOMEPAGE="https://github.com/nomius/ktsuss"
|
|
|
|
SRC_URI="https://github.com/nomius/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
2017-02-24 15:15:18 +03:00
|
|
|
KEYWORDS="amd64 ~mips ppc ppc64 x86"
|
2016-12-22 15:12:31 +03:00
|
|
|
IUSE="sudo"
|
|
|
|
|
|
|
|
RDEPEND=">=x11-libs/gtk+-2.12.11:2
|
|
|
|
>=dev-libs/glib-2.16.5:2
|
|
|
|
sudo? ( app-admin/sudo )"
|
|
|
|
DEPEND="virtual/pkgconfig
|
|
|
|
${RDEPEND}"
|
|
|
|
|
|
|
|
DOCS=( Changelog CREDITS README.md )
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf $(use_enable sudo)
|
|
|
|
}
|