diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 10:47:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 10:47:13 +0100 |
commit | 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec (patch) | |
tree | 401ffbc2ade49ce18f6182969ec5fb697a57ce48 /x11-plugins/wmbio/wmbio-1.02.ebuild | |
parent | d4bd6695641f6d2ec7ff8681913d304e995902f5 (diff) |
gentoo resync : 02.06.2018
Diffstat (limited to 'x11-plugins/wmbio/wmbio-1.02.ebuild')
-rw-r--r-- | x11-plugins/wmbio/wmbio-1.02.ebuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/x11-plugins/wmbio/wmbio-1.02.ebuild b/x11-plugins/wmbio/wmbio-1.02.ebuild index b6fcce6d4152..b2be120eed9c 100644 --- a/x11-plugins/wmbio/wmbio-1.02.ebuild +++ b/x11-plugins/wmbio/wmbio-1.02.ebuild @@ -1,8 +1,7 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 -inherit eutils +EAPI=6 DESCRIPTION="A Window Maker applet that shows your biorhythm" HOMEPAGE="http://wmbio.sourceforge.net/" @@ -22,18 +21,15 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${P}/src src_prepare() { + default # Honour Gentoo CFLAGS - sed -i "s/-g -O2/\$(CFLAGS)/" Makefile + sed -i "s/-g -O2/\$(CFLAGS)/" Makefile || die "sed for CFLAGS failed" # Honour Gentoo LDFLAGS - sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile -} - -src_compile() { - emake || die "emake failed" + sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile || die "sed for LDFLAGS failed" } src_install () { - dobin wmbio || die "dobin failed" - dodoc ../{AUTHORS,Changelog,NEWS,README} || die + dobin wmbio + dodoc ../{AUTHORS,Changelog,NEWS,README} } |