portage-overlay

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

sbase-9999.ebuild (453B)


      1 EAPI=8
      2 
      3 inherit git-r3
      4 
      5 DESCRIPTION="Suckless unix tools"
      6 HOMEPAGE="https://core.suckless.org/sbase"
      7 EGIT_REPO_URI="https://git.suckless.org/sbase"
      8 
      9 LICENSE="MIT"
     10 SLOT=0
     11 IUSE="+static"
     12 
     13 src_configure() {
     14 	default
     15 
     16 	if use static ; then
     17 		export LDFLAGS="${LDFLAGS} -s -static"
     18 	fi
     19 }
     20 
     21 src_compile() {
     22 	emake \
     23 		CFLAGS="${CFLAGS}" \
     24 		LDFLAGS="${LDFLAGS}"
     25 }
     26 
     27 src_install() {
     28 	emake DESTDIR="${D}" PREFIX=${EPREFIX}${LOCAL_PREFIX} install
     29 	einstalldocs
     30 }