/[gentoo-x86]/x11-plugins/wmtimer/wmtimer-2.92-r1.ebuild
Gentoo

Contents of /x11-plugins/wmtimer/wmtimer-2.92-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Apr 7 18:06:45 2014 UTC (4 years ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +11 -14 lines
Use EAPI5 instead of EAPI1.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmtimer/wmtimer-2.92-r1.ebuild,v 1.6 2012/05/05 05:11:59 jdhore Exp $
4
5 EAPI=5
6
7 inherit eutils multilib toolchain-funcs
8
9 DESCRIPTION="Dockable clock which can run in alarm, countdown timer or chronograph mode"
10 HOMEPAGE="http://www.darkops.net/wmtimer"
11 SRC_URI="http://www.darkops.net/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
16 IUSE=""
17
18 RDEPEND=">=dev-libs/glib-2
19 x11-libs/gtk+:2
20 x11-libs/libXpm
21 x11-libs/libXext
22 x11-libs/libX11"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 S=${WORKDIR}/${P}/${PN}
27
28 src_prepare() {
29 sed -i -e "s:\$(CFLAGS)::" Makefile || die
30 sed -i -e "s:-g::g" Makefile || die
31 sed -i -e "s:-O2:\$(CFLAGS) ${CFLAGS}:" Makefile || die
32 sed -i -e "s:-o wmtimer:\$(LDFLAGS) -o wmtimer:" Makefile || die
33 epatch "${FILESDIR}"/${PN}-counter-fix.patch
34 }
35
36 src_compile() {
37 emake CC="$(tc-getCC)" LIBDIR="-L/usr/$(get_libdir)"
38 }
39
40 src_install() {
41 dobin wmtimer
42 dodoc ../{Changelog,CREDITS,README}
43 }

  ViewVC Help
Powered by ViewVC 1.1.20