tabbed-9999.ebuild (602B)
1 EAPI=8 2 inherit git-r3 savedconfig 3 4 DESCRIPTION="simple generic tabbed frontend for xembed aware applications" 5 HOMEPAGE="https://tools.suckless.org/tabbed" 6 EGIT_REPO_URI="https://git.suckless.org/tabbed" 7 8 LICENSE="MIT-with-advertising" 9 SLOT="0" 10 IUSE="savedconfig static" 11 12 RDEPEND="x11-libs/libX11" 13 DEPEND=" 14 x11-base/xorg-proto 15 ${RDEPEND} 16 " 17 18 src_prepare() { 19 default 20 21 if use static; then 22 export CFLAGS="${CFLAGS} -static" 23 export LDFLAGS="${LDFLAGS} -static" 24 fi 25 26 restore_config config.h 27 } 28 29 src_install() { 30 emake DESTDIR="${D}" PREFIX="${EPREFIX}${LOCAL_PREFIX}" install 31 32 save_config config.h 33 }