/[gentoo-x86]/x11-misc/dclock/dclock-2.2.2_p4.ebuild
Gentoo

Contents of /x11-misc/dclock/dclock-2.2.2_p4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Aug 10 20:01:52 2014 UTC (3 years, 5 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

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-misc/dclock/dclock-2.2.2_p4.ebuild,v 1.7 2012/05/22 20:59:25 ranger Exp $
4
5 EAPI=4
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="Digital clock for the X window system"
9 HOMEPAGE="http://packages.qa.debian.org/d/dclock.html"
10 SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p*/}.orig.tar.gz
11 mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p/-}.debian.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16 IUSE=""
17
18 RDEPEND="x11-libs/libX11
19 x11-libs/libXext
20 x11-libs/libXt"
21 DEPEND="${RDEPEND}
22 app-text/rman
23 x11-misc/imake"
24
25 S=${WORKDIR}/${P/_p*/}
26
27 src_prepare() {
28 EPATCH_FORCE=yes EPATCH_SUFFIX=diff epatch "${WORKDIR}"/debian/patches
29 epatch "${FILESDIR}"/${P}-include.patch
30 }
31
32 src_configure() {
33 xmkmf || die
34 }
35
36 src_compile() {
37 emake \
38 CC="$(tc-getCC)" \
39 CFLAGS="${CFLAGS}" \
40 EXTRA_LDOPTIONS="${LDFLAGS}"
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install{,.man}
45
46 insinto /usr/share/sounds
47 doins sounds/*
48
49 insinto /usr/share/X11/app-defaults
50 newins Dclock.ad DClock
51
52 dodoc README TODO
53 }

  ViewVC Help
Powered by ViewVC 1.1.20