/[gentoo-x86]/x11-misc/x2x/x2x-1.27-r1.ebuild
Gentoo

Contents of /x11-misc/x2x/x2x-1.27-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sun Feb 5 17:54:37 2012 UTC (2 years, 2 months ago) by armin76
Branch: MAIN
Changes since 1.12: +3 -3 lines
Drop alpha/sparc keywords

(Portage version: 2.1.10.44/cvs/Linux ia64)

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/x2x/x2x-1.27-r1.ebuild,v 1.12 2009/05/05 18:18:46 ssuominen Exp $
4
5 inherit eutils
6
7 DESCRIPTION="An utility to connect the Mouse and KeyBoard to another X"
8 HOMEPAGE="http://www.the-labs.com/X11/#x2x"
9 LICENSE="as-is"
10 SRC_URI="http://ftp.digital.com/pub/Digital/SRC/x2x/${P}.tar.gz
11 mirror://debian/pool/main/x/x2x/x2x_1.27-8.diff.gz
12 mirror://gentoo/x2x_1.27-8-initvars.patch.gz
13 mirror://gentoo/x2x-1.27-license.patch.gz"
14 SLOT="0"
15 KEYWORDS="~amd64 ~mips ppc x86"
16 IUSE=""
17
18 RDEPEND="x11-libs/libX11
19 x11-libs/libXtst
20 x11-libs/libXext"
21 DEPEND="${RDEPEND}
22 x11-proto/inputproto
23 app-text/rman
24 x11-misc/imake
25 x11-proto/xproto"
26
27 src_unpack() {
28 unpack ${A}
29 cd "${S}"
30
31 # Patch from Debian to add -north and -south, among other fixes
32 epatch "${DISTDIR}"/x2x_1.27-8.diff.gz
33
34 # Fix variable initialization in Debian patch
35 epatch "${DISTDIR}"/x2x_1.27-8-initvars.patch.gz
36
37 # Patch to add LICENSE
38 epatch "${DISTDIR}"/x2x-1.27-license.patch.gz
39
40 # Man-page is packaged as x2x.1 but needs to be x2x.man for building
41 mv x2x.1 x2x.man || die
42 }
43
44 src_compile() {
45 xmkmf || die
46 emake || die
47 }
48
49 src_install () {
50 make DESTDIR="${D}" install || die
51 newman x2x.man x2x.1 || die
52 }

  ViewVC Help
Powered by ViewVC 1.1.20