|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbio/wmbio-1.02.ebuild,v 1.10 2008/11/25 23:33:51 tcunha Exp $ | # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbio/wmbio-1.02.ebuild,v 1.10 2008/11/25 23:33:51 tcunha Exp $ |
| |
inherit eutils |
inherit eutils toolchain-funcs |
| |
DESCRIPTION="a Window Maker applet that shows your biorhythm" | DESCRIPTION="a Window Maker applet that shows your biorhythm" |
SRC_URI="http://wmbio.sourceforge.net/${P}.tar.gz" | SRC_URI="http://wmbio.sourceforge.net/${P}.tar.gz" |
|
|
cd "${S}" | cd "${S}" |
# Honour Gentoo CFLAGS | # Honour Gentoo CFLAGS |
epatch "${FILESDIR}"/${PN}-Makefile.patch | epatch "${FILESDIR}"/${PN}-Makefile.patch |
|
# Fix hardcoded CC |
|
sed -i "s/cc/$(tc-getCC)/" Makefile || die "sed cc failed." |
} | } |
| |
src_compile() { | src_compile() { |
|
|
| |
src_install () { | src_install () { |
dobin wmbio || die "dobin failed." | dobin wmbio || die "dobin failed." |
dodoc ../{AUTHORS,ChangeLog,NEWS,README} |
dodoc ../{AUTHORS,Changelog,NEWS,README} |
} | } |