Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/gpm: ChangeLog gpm-1.20.3.ebuild
Date: Sat, 19 Apr 2008 08:23:26
Message-Id: E1Jn8M0-000538-Ae@stork.gentoo.org
1 vapier 08/04/19 08:23:24
2
3 Modified: ChangeLog
4 Added: gpm-1.20.3.ebuild
5 Log:
6 Version bump #215455 by Hanno Meyer-Thurow.
7 (Portage version: 2.2_pre5)
8
9 Revision Changes Path
10 1.65 sys-libs/gpm/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/ChangeLog?rev=1.65&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/ChangeLog?rev=1.65&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/ChangeLog?r1=1.64&r2=1.65
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v
19 retrieving revision 1.64
20 retrieving revision 1.65
21 diff -u -r1.64 -r1.65
22 --- ChangeLog 25 Dec 2007 04:07:06 -0000 1.64
23 +++ ChangeLog 19 Apr 2008 08:23:23 -0000 1.65
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-libs/gpm
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.64 2007/12/25 04:07:06 ranger Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.65 2008/04/19 08:23:23 vapier Exp $
30 +
31 +*gpm-1.20.3 (19 Apr 2008)
32 +
33 + 19 Apr 2008; Mike Frysinger <vapier@g.o> +gpm-1.20.3.ebuild:
34 + Version bump #215455 by Hanno Meyer-Thurow.
35
36 25 Dec 2007; Brent Baude <ranger@g.o> gpm-1.20.1-r6.ebuild:
37 Marking gpm-1.20.1-r6 ppc64 for bug 202853
38
39
40
41 1.1 sys-libs/gpm/gpm-1.20.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/gpm-1.20.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/gpm-1.20.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gpm-1.20.3.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.20.3.ebuild,v 1.1 2008/04/19 08:23:23 vapier Exp $
51
52 # emacs support disabled due to Bug 99533
53
54 inherit eutils toolchain-funcs
55 #elisp-common
56
57 DESCRIPTION="Console-based mouse driver"
58 HOMEPAGE="http://linux.schottelius.org/gpm/"
59 SRC_URI="http://linux.schottelius.org/gpm/archives/${P}.tar.lzma"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
64 IUSE="selinux" # emacs"
65
66 DEPEND="sys-libs/ncurses"
67 # emacs? ( virtual/emacs )"
68 RDEPEND="selinux? ( sec-policy/selinux-gpm )"
69
70 fsrc_unpack() {
71 unpack ${A}
72 cd "${S}"
73 EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
74 epatch "${FILESDIR}"/gpm-configure-LANG.patch
75 }
76
77 src_compile() {
78 econf \
79 --libdir=/$(get_libdir) \
80 --sysconfdir=/etc/gpm \
81 || die "econf failed"
82
83 # workaround broken release
84 find -name '*.o' | xargs rm
85 emake clean || die
86 emake -j1 -C doc || die
87
88 emake EMACS=: || die "emake failed"
89
90 # local lisp="emacs/t-mouse.el emacs/t-mouse.elc"
91 # if use emacs ; then
92 # cd "${S}"/contrib ; make clean
93 # make EMACS=emacs ELISP="${lisp}" || die
94 # fi
95 }
96
97 src_install() {
98 emake install DESTDIR="${D}" EMACS=: ELISP="" || die "make install failed"
99
100 dosym libgpm.so.1.20.0 /$(get_libdir)/libgpm.so.1
101 dosym libgpm.so.1 /$(get_libdir)/libgpm.so
102 dodir /usr/$(get_libdir)
103 mv "${D}"/$(get_libdir)/libgpm.a "${D}"/usr/$(get_libdir)/ || die
104 gen_usr_ldscript libgpm.so
105
106 # if use emacs ; then
107 # cd "${S}"/contrib/emacs
108 # elisp-install . t-mouse*
109 # fi
110
111 insinto /etc/gpm
112 doins conf/gpm-*.conf
113
114 dodoc BUGS Changes README TODO
115 dodoc doc/Announce doc/FAQ doc/README*
116
117 newinitd "${FILESDIR}"/gpm.rc6 gpm
118 newconfd "${FILESDIR}"/gpm.conf.d gpm
119 }
120
121
122
123 --
124 gentoo-commits@l.g.o mailing list