Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 215651 | Differences between
and this patch

Collapse All | Expand All

(-)wmitime-0.3.ebuild.orig (-10 / +9 lines)
Lines 2-11 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/wmitime/wmitime-0.3.ebuild,v 1.18 2008/11/25 23:59:19 tcunha Exp $
3
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmitime/wmitime-0.3.ebuild,v 1.18 2008/11/25 23:59:19 tcunha Exp $
4
4
5
inherit eutils
5
inherit eutils toolchain-funcs
6
6
7
S=${WORKDIR}/${PN}
8
IUSE=""
9
DESCRIPTION="Overglorified clock dockapp w/time, date, and internet time"
7
DESCRIPTION="Overglorified clock dockapp w/time, date, and internet time"
10
HOMEPAGE="http://www.neotokyo.org/illusion/"
8
HOMEPAGE="http://www.neotokyo.org/illusion/"
11
SRC_URI="http://www.neotokyo.org/illusion/downloads/${P}.tar.gz"
9
SRC_URI="http://www.neotokyo.org/illusion/downloads/${P}.tar.gz"
Lines 13-18 Link Here
13
LICENSE="GPL-2"
11
LICENSE="GPL-2"
14
SLOT="0"
12
SLOT="0"
15
KEYWORDS="amd64 ppc ppc64 sparc x86"
13
KEYWORDS="amd64 ppc ppc64 sparc x86"
14
IUSE=""
16
15
17
RDEPEND="x11-libs/libX11
16
RDEPEND="x11-libs/libX11
18
	x11-libs/libXext
17
	x11-libs/libXext
Lines 20-40 Link Here
20
DEPEND="${RDEPEND}
19
DEPEND="${RDEPEND}
21
	x11-proto/xextproto"
20
	x11-proto/xextproto"
22
21
22
S=${WORKDIR}/${PN}/${PN}
23
23
src_unpack() {
24
src_unpack() {
24
	unpack ${A}
25
	unpack ${A}
25
	cd "${S}"
26
	cd "${S}"
26
	epatch "${FILESDIR}"/makefile.diff
27
28
	sed -i "s/cc/$(tc-getCC)/" Makefile || die "sed cc failed"
29
	sed -i "s/-D\$(LANG)//" Makefile || die "sed lang failed"
27
}
30
}
28
31
29
src_compile() {
32
src_compile() {
30
	cd "${S}"/wmitime
33
	emake FLAGS="${CFLAGS}" || die "make failed"
31
	make || die "make failed"
32
}
34
}
33
35
34
src_install() {
36
src_install() {
35
	cd "${S}"/wmitime
36
	dobin wmitime
37
	dobin wmitime
37
38
	dodoc ../{BUGS,CHANGES,README}
38
	cd "${S}"
39
	dodoc BUGS CHANGES README
40
}
39
}

Return to bug 215651