portage-overlay

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

sfeed-9999.ebuild (648B)


      1 EAPI=8
      2 
      3 inherit git-r3
      4 
      5 DESCRIPTION="RSS and Atom parser"
      6 HOMEPAGE="https://git.codemadness.org/sfeed/"
      7 EGIT_REPO_URI="git://git.codemadness.org/sfeed"
      8 
      9 LICENSE="ISC"
     10 SLOT=0
     11 IUSE="+static"
     12 
     13 src_configure() {
     14 	default
     15 
     16 	if use static ; then
     17 		export CFLAGS="${CFLAGS} -static"
     18 		export LDFLAGS="${LDFLAGS} -s -static"
     19 	fi
     20 }
     21 
     22 src_compile() {
     23 	emake \
     24 		CFLAGS="${CFLAGS}" \
     25 		LDFLAGS="${LDFLAGS}" \
     26 		SFEED_CURSES_LDFLAGS="${LDFLAGS}" \
     27 		SFEED_CURSES_CFLAGS="${CFLAGS} -DSFEED_MINICURSES"
     28 }
     29 
     30 src_install() {
     31 	emake	DESTDIR="${D}" \
     32 		PREFIX="${EPREFIX}${LOCAL_PREFIX}" \
     33 		MANPREFIX="${EPREFIX}${LOCAL_PREFIX}/share/man" \
     34 		install
     35 	einstalldocs
     36 }