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.4.ebuild
Date: Sat, 31 May 2008 04:25:20
Message-Id: E1K2IeS-0006Zm-Qx@stork.gentoo.org
1 vapier 08/05/31 04:25:08
2
3 Modified: ChangeLog
4 Added: gpm-1.20.4.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_pre5.spank.spunk)
8
9 Revision Changes Path
10 1.67 sys-libs/gpm/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 21 Apr 2008 07:08:37 -0000 1.66
23 +++ ChangeLog 31 May 2008 04:25:08 -0000 1.67
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-libs/gpm
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.66 2008/04/21 07:08:37 ulm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.67 2008/05/31 04:25:08 vapier Exp $
29 +
30 +*gpm-1.20.4 (31 May 2008)
31 +
32 + 31 May 2008; Mike Frysinger <vapier@g.o> +gpm-1.20.4.ebuild:
33 + Version bump.
34
35 21 Apr 2008; Ulrich Mueller <ulm@g.o>
36 +files/gpm-1.20.3-no-emacs-dir.patch, gpm-1.20.3.ebuild:
37
38
39
40 1.1 sys-libs/gpm/gpm-1.20.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/gpm-1.20.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/gpm/gpm-1.20.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gpm-1.20.4.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.20.4.ebuild,v 1.1 2008/05/31 04:25:08 vapier Exp $
50
51 # emacs support disabled due to Bug 99533
52
53 inherit eutils toolchain-funcs
54
55 DESCRIPTION="Console-based mouse driver"
56 HOMEPAGE="http://linux.schottelius.org/gpm/"
57 SRC_URI="http://linux.schottelius.org/gpm/archives/${P}.tar.lzma"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 # need to sort out SONAME first
62 #KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
63 IUSE="selinux"
64
65 DEPEND="sys-libs/ncurses
66 app-arch/lzma-utils"
67 RDEPEND="selinux? ( sec-policy/selinux-gpm )"
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${FILESDIR}"/${PN}-1.20.3-no-emacs-dir.patch
73 }
74
75 src_compile() {
76 econf \
77 --libdir=/$(get_libdir) \
78 --sysconfdir=/etc/gpm \
79 || die "econf failed"
80
81 # workaround broken release
82 find -name '*.o' | xargs rm
83 emake clean || die
84 emake -j1 -C doc || die
85
86 emake EMACS=: || die "emake failed"
87 }
88
89 src_install() {
90 emake install DESTDIR="${D}" EMACS=: ELISP="" || die "make install failed"
91
92 dosym libgpm.so.1.20.0 /$(get_libdir)/libgpm.so.1
93 dosym libgpm.so.1 /$(get_libdir)/libgpm.so
94 dodir /usr/$(get_libdir)
95 mv "${D}"/$(get_libdir)/libgpm.a "${D}"/usr/$(get_libdir)/ || die
96 gen_usr_ldscript libgpm.so
97
98 insinto /etc/gpm
99 doins conf/gpm-*.conf
100
101 dodoc BUGS Changes README TODO
102 dodoc doc/Announce doc/FAQ doc/README*
103
104 newinitd "${FILESDIR}"/gpm.rc6 gpm
105 newconfd "${FILESDIR}"/gpm.conf.d gpm
106 }
107
108
109
110 --
111 gentoo-commits@l.g.o mailing list