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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Apr 7 18:06:45 2014 UTC (3 years, 8 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +5 -8 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.ebuild,v 1.5 2012/05/05 05:11:59 jdhore Exp $
4
5 EAPI=5
6
7 inherit 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="x11-libs/gtk+:2
19 x11-libs/libXpm
20 x11-libs/libXext
21 x11-libs/libX11"
22 DEPEND="${RDEPEND}
23 virtual/pkgconfig"
24
25 S=${WORKDIR}/${P}/${PN}
26
27 src_prepare() {
28 sed -e "s:\$(CFLAGS)::" -i Makefile
29 sed -e "s:-g::g" -i Makefile
30 sed -e "s:-O2:\$(CFLAGS) ${CFLAGS}:" -i Makefile
31 sed -e "s:-o wmtimer:\$(LDFLAGS) -o wmtimer:" -i Makefile
32 }
33
34 src_compile() {
35 emake CC="$(tc-getCC)" LIBDIR="-L/usr/$(get_libdir)"
36 }
37
38 src_install() {
39 dobin wmtimer
40 dodoc ../{Changelog,CREDITS,README}
41 }

  ViewVC Help
Powered by ViewVC 1.1.20