/[gentoo-x86]/x11-misc/imwheel/imwheel-1.0.0_pre12.ebuild
Gentoo

Contents of /x11-misc/imwheel/imwheel-1.0.0_pre12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Jan 7 10:49:35 2008 UTC (6 years, 7 months ago) by nelchael
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -2 lines
Add missing x11-proto/inputproto to DEPEND, see bug #204597.
(Portage version: 2.1.4_rc14)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/imwheel/imwheel-1.0.0_pre12.ebuild,v 1.7 2007/07/22 03:15:45 coldwind Exp $
4
5 inherit eutils
6
7 DESCRIPTION="mouse tool for advanced features such as wheels and 3+ buttons"
8 HOMEPAGE="http://imwheel.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/imwheel/${P/_/}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 ppc x86"
14 IUSE=""
15
16 RDEPEND="x11-libs/libXtst
17 x11-libs/libX11
18 x11-libs/libXmu
19 x11-libs/libXt
20 x11-libs/libXext"
21
22 DEPEND="${RDEPEND}
23 x11-proto/inputproto
24 x11-proto/xextproto
25 x11-proto/xproto
26 >=sys-apps/sed-4"
27
28 S=${WORKDIR}/${P/_/}
29
30 src_unpack() {
31 unpack ${A}
32 cd "${S}"
33 #epatch ${FILESDIR}/${P}-gentoo.diff
34 sed -i -e "s:/etc:${D}/etc:g" Makefile.am || die
35 sed -i -e "s:/etc:${D}/etc:g" Makefile.in || die
36 }
37
38 src_compile() {
39 local myconf
40 # don't build gpm stuff
41 myconf="--disable-gpm --disable-gpm-doc"
42 econf ${myconf} || die "configure failed"
43 emake || die "parallel make failed"
44 }
45
46 src_install() {
47 einstall || die "make install failed"
48 dodoc AUTHORS BUGS ChangeLog EMACS M-BA47 NEWS README TODO
49 }

  ViewVC Help
Powered by ViewVC 1.1.20