summaryrefslogtreecommitdiff
blob: b1388373ee8a3eccc4af3e9ec5009edde8fbdb33 (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
39
40
41
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmtimer/wmtimer-2.9.2.ebuild,v 1.7 2006/10/10 07:59:54 s4t4n Exp $

IUSE=""

MY_PV="2.92"
MY_P="${PN}-${MY_PV}"

S=${WORKDIR}/${MY_P}/${PN}

DESCRIPTION="Dockable clock which can run in alarm, countdown timer or chronograph mode"
SRC_URI="http://www.darkops.net/wmtimer/${MY_P}.tar.gz"
HOMEPAGE="http://www.darkops.net/wmtimer/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc ppc64 ~sparc x86"

RDEPEND=">=x11-libs/gtk+-2.6.2"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.15.0
	>=sys-apps/sed-4.0.9
	>=x11-libs/libXpm-3.5.5"

src_unpack() {
	unpack ${A}
	cd ${S}
	sed -i -e "s:-O2 -Wall:${CFLAGS}:" Makefile
}

src_compile() {
	emake || die
}

src_install () {
	dobin wmtimer
	cd ..
	dodoc README CREDITS Changelog
}