Skip to content

Commit

Permalink
app-crypt/stoken: update RDEPEND, remove src_install
Browse files Browse the repository at this point in the history
add a required dependency of crypto backend (at least one),
update gtk dependency to gtk-3 slot (in upstream from v0.8),
src_install is no need to override, all going fine by default

Signed-off-by: Matthew Thode <[email protected]>
  • Loading branch information
bor authored and prometheanfire committed Apr 15, 2016
1 parent 6c0f8b4 commit d5402da
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions app-crypt/stoken/stoken-0.90.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="gtk"

RDEPEND="gtk? ( x11-libs/gtk+:2 )"
RDEPEND="
|| ( dev-libs/nettle dev-libs/libtomcrypt )
gtk? ( >=x11-libs/gtk+-3.12:3 )"
DEPEND="${RDEPEND}"

src_prepare() {
Expand All @@ -26,12 +28,3 @@ src_prepare() {
src_configure() {
econf $(use_with gtk)
}

src_install() {
default
dodoc CHANGES COPYING.LIB README.md TODO
doman stoken.1
if use gtk ; then
doman stoken-gui.1
fi
}

0 comments on commit d5402da

Please sign in to comment.