portage-overlay

personal portage ebuild repository
git clone anongit@rnpnr.xyz:portage-overlay.git
Log | Files | Refs | Feed | README

Commit: 933879313aae611f0c06b5507d80a391bbf8d260
Parent: 45c073f95231368cb97c64ff76ba565bc8e43f84
Author: Randy Palamar
Date:   Thu,  4 Aug 2022 17:54:43 -0600

readd x11-misc/tabbed

Diffstat:
Ax11-misc/tabbed/tabbed-9999.ebuild | 38++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+), 0 deletions(-)

diff --git a/x11-misc/tabbed/tabbed-9999.ebuild b/x11-misc/tabbed/tabbed-9999.ebuild @@ -0,0 +1,38 @@ +EAPI=7 +inherit git-r3 savedconfig + +DESCRIPTION="simple generic tabbed frontend for xembed aware applications" +HOMEPAGE="https://tools.suckless.org/tabbed" +EGIT_REPO_URI="https://git.suckless.org/tabbed" + +LICENSE="MIT-with-advertising" +SLOT="0" +IUSE="savedconfig static" + +RDEPEND="x11-libs/libX11" +DEPEND=" + x11-base/xorg-proto + ${RDEPEND} +" + +src_prepare() { + default + + sed -e '/^X11INC/{s:X11R6/include:include/X11:}' \ + -e '/^X11LIB/{s:X11R6/lib:lib/X11:}' \ + < config.mk > config.mk.new || die + mv config.mk.new config.mk + + if use static; then + export CFLAGS="${CFLAGS} -static" + export LDFLAGS="${LDFLAGS} -static" + fi + + restore_config config.h +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}${LOCAL_PREFIX}" install + + save_config config.h +}