diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmbio/wmbio-1.02.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmbio/wmbio-1.02.ebuild')
-rw-r--r-- | x11-plugins/wmbio/wmbio-1.02.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-plugins/wmbio/wmbio-1.02.ebuild b/x11-plugins/wmbio/wmbio-1.02.ebuild new file mode 100644 index 000000000000..d88c092cbef8 --- /dev/null +++ b/x11-plugins/wmbio/wmbio-1.02.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +inherit eutils + +DESCRIPTION="A Window Maker applet that shows your biorhythm" +SRC_URI="http://wmbio.sourceforge.net/${P}.tar.gz" +HOMEPAGE="http://wmbio.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/src + +src_prepare() { + # Honour Gentoo CFLAGS + sed -i "s/-g -O2/\$(CFLAGS)/" Makefile + + # Honour Gentoo LDFLAGS + sed -i "s/-o wmbio/\$(LDFLAGS) -o wmbio/" Makefile +} + +src_compile() { + emake || die "emake failed" +} + +src_install () { + dobin wmbio || die "dobin failed" + dodoc ../{AUTHORS,Changelog,NEWS,README} || die +} |