portage-overlay

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

Commit: 329cb9289c038003fc5b4062e7ef230e7fc8e891
Parent: 10d3c09cef76f1644bfb73a13319f292ef85bcf0
Author: opask
Date:   Tue,  8 Jan 2019 16:50:42 -0700

add x11-misc/bgs

Diffstat:
Ax11-misc/bgs/Manifest | 1+
Ax11-misc/bgs/bgs-0.8.ebuild | 24++++++++++++++++++++++++
2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/x11-misc/bgs/Manifest b/x11-misc/bgs/Manifest @@ -0,0 +1 @@ +DIST bgs-0.8.tar.gz 5122 BLAKE2B f2d90e945e087c1e45d66c0a5e35dfa3057f422f8f3220a1665e812bc1db824f8dbc50e066387437b91b65e634bbfa43d6dddd55bc168e195abb84b61a37aa40 SHA512 4f7aa32d9cf60252abfc87cf72c7bc20ac691af3684a0923d3e2a3506407bddee9d2e5f49da97a154ed2acf1a876b2952ab61dd412f2de39c1303e7551acaec8 diff --git a/x11-misc/bgs/bgs-0.8.ebuild b/x11-misc/bgs/bgs-0.8.ebuild @@ -0,0 +1,24 @@ +EAPI=7 + +DESCRIPTION="https://github.com/Gottox/bgs" +HOMEPAGE="https://github.com/Gottox/bgs" +SRC_URI="https://github.com/Gottox/bgs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT=0 +IUSE="static" +DEPEND=" + media-libs/imlib2 + x11-libs/libX11 +" + +src_configure() { + default + + if use static; then + export LDFLAGS="${LDFLAGS} -static" + fi +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}${LOCAL_PREFIX}" install +}