Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbio/wmbio-1.02.ebuild,v 1.10 2008/11/25 23:33:51 tcunha Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbio/wmbio-1.02.ebuild,v 1.10 2008/11/25 23:33:51 tcunha Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils toolchain-funcs |
6 |
|
6 |
|
7 |
DESCRIPTION="a Window Maker applet that shows your biorhythm" |
7 |
DESCRIPTION="a Window Maker applet that shows your biorhythm" |
8 |
SRC_URI="http://wmbio.sourceforge.net/${P}.tar.gz" |
8 |
SRC_URI="http://wmbio.sourceforge.net/${P}.tar.gz" |
Lines 26-31
Link Here
|
26 |
cd "${S}" |
26 |
cd "${S}" |
27 |
# Honour Gentoo CFLAGS |
27 |
# Honour Gentoo CFLAGS |
28 |
epatch "${FILESDIR}"/${PN}-Makefile.patch |
28 |
epatch "${FILESDIR}"/${PN}-Makefile.patch |
|
|
29 |
# Fix hardcoded CC |
30 |
sed -i "s/cc/$(tc-getCC)/" Makefile || die "sed cc failed." |
29 |
} |
31 |
} |
30 |
|
32 |
|
31 |
src_compile() { |
33 |
src_compile() { |
Lines 34-38
Link Here
|
34 |
|
36 |
|
35 |
src_install () { |
37 |
src_install () { |
36 |
dobin wmbio || die "dobin failed." |
38 |
dobin wmbio || die "dobin failed." |
37 |
dodoc ../{AUTHORS,ChangeLog,NEWS,README} |
39 |
dodoc ../{AUTHORS,Changelog,NEWS,README} |
38 |
} |
40 |
} |