/[gentoo-x86]/x11-misc/xcalib/xcalib-0.8.ebuild
Gentoo

Contents of /x11-misc/xcalib/xcalib-0.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat May 12 18:46:38 2012 UTC (2 years, 3 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +4 -4 lines
Update HOMEPAGE and SRC_URI, fixing bug #415609 by df <demmamussabebonk@gmail.com>. Add upstream metadata.

(Portage version: 2.1.10.59/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalib/xcalib-0.8.ebuild,v 1.4 2008/04/14 11:36:52 flameeyes Exp $
4
5 inherit eutils toolchain-funcs multilib
6
7 DESCRIPTION="xcalib is a tiny monitor calibration loader for X.org"
8 HOMEPAGE="http://xcalib.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${PN}-source-${PV}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc x86"
14 IUSE=""
15
16 RDEPEND="x11-libs/libX11
17 x11-libs/libXext
18 x11-libs/libXxf86vm"
19
20 DEPEND="${RDEPEND}
21 x11-proto/xf86vidmodeproto"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26
27 epatch "${FILESDIR}/${P}-ldflags.patch"
28 }
29
30 src_compile() {
31 emake \
32 CC="$(tc-getCC)" \
33 CFLAGS="${CFLAGS}" \
34 LDFLAGS="${LDFLAGS}" \
35 XINCLUDEDIR=/usr/include \
36 XLIBDIR=/usr/$(get_libdir) \
37 || die 'make failed'
38 }
39
40 src_install() {
41 dobin xcalib
42 dodoc README
43
44 docinto profiles
45 dodoc *.icm *.icc
46 }

  ViewVC Help
Powered by ViewVC 1.1.20