summaryrefslogtreecommitdiff
blob: 9c1e76a477391e2977056f8562d0ca7e00e53b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmtimer/wmtimer-2.4.ebuild,v 1.8 2003/09/06 05:45:18 msterret Exp $

S=${WORKDIR}/${P}
S2=${S}/wmtimer

DESCRIPTION="Dockable clock which can run in alarm, countdown timer or chronograph mode"
SRC_URI="http://home.dwave.net/~jking/wmtimer/${P}.tar.gz"
HOMEPAGE="http://home.dwave.net/~jking/wmtimer/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

DEPEND="virtual/glibc
	virtual/x11
	=x11-libs/gtk+-1.2*"

src_compile() {

	cd ${S2}
	cp Makefile Makefile.orig
	sed -e "s:-O2 -Wall:${CFLAGS}:" Makefile.orig > Makefile

	emake || die

}

src_install () {

	cd ${S2}
	dobin wmtimer

	cd ${S}
	dodoc README COPYING INSTALL CREDITS INSTALL Changelog

}