Commit: 10d3c09cef76f1644bfb73a13319f292ef85bcf0 Parent: be602c74f5eee9297492538b3006960ff78b91ba Author: opask Date: Tue, 8 Jan 2019 16:50:13 -0700 add x11-misc/tabbed Diffstat:
A | x11-misc/tabbed/tabbed-9999.ebuild | | | 35 | +++++++++++++++++++++++++++++++++++ |
1 file changed, 35 insertions(+), 0 deletions(-)
diff --git a/x11-misc/tabbed/tabbed-9999.ebuild b/x11-misc/tabbed/tabbed-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit git-r3 savedconfig + +DESCRIPTION="Simple generic tabbed fronted to xembed aware applications" +HOMEPAGE="https://tools.suckless.org/tabbed" +EGIT_REPO_URI="https://git.suckless.org/tabbed" + +SLOT="0" +IUSE="static" + +RDEPEND="x11-libs/libX11" +DEPEND=" + x11-base/xorg-proto + ${RDEPEND} +" + + +src_prepare() { + default + + if uses static; then + export LDFLAGS="${LDFLAGS} -static" + fi + + restore_config config.h +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}${LOCAL_PREFIX}" install + + save_config config.h +}