URI: 
       tx11-misc/slstatus: Add 9999 - parlay - yet another gentoo overlay
  HTML git clone https://git.parazyd.org/parlay
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit 5a2f28d1535995d77ef415658245cbb8a8415d1c
   DIR parent b1e920dee42d09823de6c2f1f5cb306c112ad6fd
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Fri, 17 Feb 2017 15:30:21 +0100
       
       x11-misc/slstatus: Add 9999
       
       Diffstat:
         A x11-misc/slstatus/slstatus-9999.eb… |      54 +++++++++++++++++++++++++++++++
       
       1 file changed, 54 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/x11-misc/slstatus/slstatus-9999.ebuild b/x11-misc/slstatus/slstatus-9999.ebuild
       t@@ -0,0 +1,54 @@
       +# Copyright 1999-2017 Gentoo Foundation
       +# Distributed under the terms of the GNU General Public License v2
       +# $Id$
       +
       +EAPI=6
       +
       +inherit git-r3 savedconfig toolchain-funcs
       +
       +DESCRIPTION="lightweight status monitor for window managers which use WM_NAME (eg. dwm)"
       +HOMEPAGE="https://git.nulltime.net/slstatus"
       +EGIT_REPO_URI="https://git.nulltime.net/slstatus"
       +
       +LICENSE="ISC"
       +SLOT="0"
       +KEYWORDS=""
       +IUSE=""
       +
       +DEPEND="x11-libs/libX11"
       +RDEPEND="${DEPEND}"
       +
       +src_prepare() {
       +        default
       +
       +        sed -i \
       +                -e "/^CDFLAGS/{s|=|+=|g;s|-O. | |g}" \
       +                -e "/^LDFLAGS/{s|=|+=|g;s|-s | |g}" \
       +                -e "s@/usr/X11R6/include@${EPREFIX}/usr/include/X11@" \
       +                -e "s@/usr/X11R6/lib@${EPREFIX}/usr/lib@" \
       +                -e "s@-I/usr/include@@" -e "s@-L/usr/lib@@" \
       +                config.mk || die
       +        sed -i \
       +                -e '/@echo CC/d' \
       +                -e 's|@${CC}|$(CC)|g' \
       +                Makefile || die
       +
       +        restore_config config.h
       +}
       +
       +src_compile() {
       +        emake CC=$(tc-getCC) slstatus
       +}
       +
       +src_install() {
       +        emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
       +
       +        dodoc README.md
       +
       +        save_config config.h
       +}
       +
       +pkg_postinst() {
       +        einfo "This ebuild has support for user defined configs"
       +        einfo "Please read this ebuild for more details and re-emerge as needed"
       +}