diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-16 22:53:30 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-16 22:53:30 +0000 |
commit | 0b192184969a877b27872f566e62baf0efbe0811 (patch) | |
tree | faf317e2c21edd4e626e1481f96c0a6d0a80c86f | |
parent | Fix libevent test in configure.in (diff) | |
download | gentoo-2-0b192184969a877b27872f566e62baf0efbe0811.tar.gz gentoo-2-0b192184969a877b27872f566e62baf0efbe0811.tar.bz2 gentoo-2-0b192184969a877b27872f566e62baf0efbe0811.zip |
Version bump. Respect LDFLAGS (bug #335621), CC, CFLAGS.
(Portage version: 2.2_rc82/cvs/Linux i686)
-rw-r--r-- | x11-misc/dclock/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/dclock/dclock-2.2.2_p4.ebuild | 54 | ||||
-rw-r--r-- | x11-misc/dclock/files/dclock-2.2.2_p4-include.patch | 10 |
3 files changed, 72 insertions, 2 deletions
diff --git a/x11-misc/dclock/ChangeLog b/x11-misc/dclock/ChangeLog index 42009a95bc95..6386e60b1eae 100644 --- a/x11-misc/dclock/ChangeLog +++ b/x11-misc/dclock/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/dclock -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dclock/ChangeLog,v 1.12 2008/07/09 06:42:57 tove Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dclock/ChangeLog,v 1.13 2010/09/16 22:53:29 jer Exp $ + +*dclock-2.2.2_p4 (16 Sep 2010) + + 16 Sep 2010; Jeroen Roovers <jer@gentoo.org> +dclock-2.2.2_p4.ebuild, + +files/dclock-2.2.2_p4-include.patch: + Version bump. Respect LDFLAGS (bug #335621), CC, CFLAGS. 09 Jul 2008; Torsten Veller <tove@gentoo.org> metadata.xml: Remove g2boojum from metadata (#208353) diff --git a/x11-misc/dclock/dclock-2.2.2_p4.ebuild b/x11-misc/dclock/dclock-2.2.2_p4.ebuild new file mode 100644 index 000000000000..8b256819c23c --- /dev/null +++ b/x11-misc/dclock/dclock-2.2.2_p4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dclock/dclock-2.2.2_p4.ebuild,v 1.1 2010/09/16 22:53:29 jer Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Digital clock for the X window system." +HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" +SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p*/}.orig.tar.gz + mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p/-}.debian.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext + app-text/rman" +DEPEND="${RDEPEND} + x11-misc/imake" + +S="${WORKDIR}/${P/_p*/}" + +src_prepare() { + EPATCH_FORCE=yes EPATCH_SUFFIX=diff epatch "${WORKDIR}"/debian/patches/ + epatch "${FILESDIR}"/${P}-include.patch +} + +src_configure() { + xmkmf || die "xmkmf" + emake depend || die "emake depend" +} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + CFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" \ + || die "emake" +} + +src_install() { + emake DESTDIR="${D}" install || die + emake DESTDIR="${D}" install.man || die + insinto /usr/share/sounds + doins sounds/* || die + insinto /usr/share/X11/app-defaults + newins Dclock.ad DClock || die + dodoc README TODO +} diff --git a/x11-misc/dclock/files/dclock-2.2.2_p4-include.patch b/x11-misc/dclock/files/dclock-2.2.2_p4-include.patch new file mode 100644 index 000000000000..fe7c4331b8b1 --- /dev/null +++ b/x11-misc/dclock/files/dclock-2.2.2_p4-include.patch @@ -0,0 +1,10 @@ +--- dclock.c.orig 2008-07-08 05:35:18.000000000 +0200 ++++ dclock.c 2010-09-17 00:40:05.000000000 +0200 +@@ -7,6 +7,7 @@ + * manager: *Dclock.seconds: on + */ + #include <stdio.h> ++#include <stdlib.h> /* exit() */ + #include <locale.h> + #include <X11/Intrinsic.h> + #include "Dclock.h" |