Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pcmciautils: ChangeLog pcmciautils-017.ebuild
Date: Wed, 31 Oct 2012 19:20:02
Message-Id: 20121031191936.6F1F821600@flycatcher.gentoo.org
1 ssuominen 12/10/31 19:19:36
2
3 Modified: ChangeLog pcmciautils-017.ebuild
4 Log:
5 Use udev.eclass for determining correct udevdir value from udev.pc pkg-config file by using the udev_get_udevdir() function.
6
7 (Portage version: 2.2.0_alpha135/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.39 sys-apps/pcmciautils/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/ChangeLog?rev=1.39&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/ChangeLog?rev=1.39&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/ChangeLog?r1=1.38&r2=1.39
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v
19 retrieving revision 1.38
20 retrieving revision 1.39
21 diff -u -r1.38 -r1.39
22 --- ChangeLog 25 Feb 2012 06:43:55 -0000 1.38
23 +++ ChangeLog 31 Oct 2012 19:19:36 -0000 1.39
24 @@ -1,6 +1,10 @@
25 # ChangeLog for sys-apps/pcmciautils
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.38 2012/02/25 06:43:55 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.39 2012/10/31 19:19:36 ssuominen Exp $
29 +
30 + 31 Oct 2012; Samuli Suominen <ssuominen@g.o> pcmciautils-017.ebuild:
31 + Use udev.eclass for determining correct udevdir value from udev.pc pkg-config
32 + file by using the udev_get_udevdir() function.
33
34 25 Feb 2012; Robin H. Johnson <robbat2@g.o> pcmciautils-014-r1.ebuild,
35 pcmciautils-015.ebuild, pcmciautils-016.ebuild, pcmciautils-017.ebuild:
36
37
38
39 1.3 sys-apps/pcmciautils/pcmciautils-017.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/pcmciautils-017.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/pcmciautils-017.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/pcmciautils-017.ebuild?r1=1.2&r2=1.3
44
45 Index: pcmciautils-017.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/pcmciautils-017.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- pcmciautils-017.ebuild 25 Feb 2012 06:43:55 -0000 1.2
52 +++ pcmciautils-017.ebuild 31 Oct 2012 19:19:36 -0000 1.3
53 @@ -1,11 +1,12 @@
54 # Copyright 1999-2012 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/pcmciautils-017.ebuild,v 1.2 2012/02/25 06:43:55 robbat2 Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/pcmciautils-017.ebuild,v 1.3 2012/10/31 19:19:36 ssuominen Exp $
58
59 -inherit eutils flag-o-matic toolchain-funcs linux-info
60 +EAPI=4
61 +inherit flag-o-matic linux-info toolchain-funcs udev
62
63 DESCRIPTION="PCMCIA userspace utilities for Linux kernel 2.6.13 and beyond"
64 -HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
65 +HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/"
66 SRC_URI="mirror://kernel/linux/utils/kernel/pcmcia/${P}.tar.bz2"
67
68 LICENSE="GPL-2"
69 @@ -28,9 +29,7 @@
70 }
71
72 use_tf() { use $1 && echo true || echo false ; }
73 -src_unpack() {
74 - unpack ${A}
75 - cd "${S}"
76 +src_prepare() {
77 sed -i \
78 -e '/^DEBUG\>/s:=.*:= false:' \
79 -e '/^UDEV\>/s:=.*:= true:' \
80 @@ -44,15 +43,18 @@
81 src_compile() {
82 emake \
83 OPTIMIZATION="${CFLAGS} ${CPPFLAGS}" \
84 - V="true" \
85 + V=true \
86 CC="$(tc-getCC)" \
87 LD="$(tc-getCC)" \
88 - STRIP="true" \
89 - || die "emake failed"
90 + STRIP=true
91 }
92
93 src_install() {
94 - emake DESTDIR="${D}" install || die "make install failed"
95 + emake \
96 + DESTDIR="${D}" \
97 + udevdir="$(udev_get_udevdir)" \
98 + install
99 +
100 dodoc doc/*.txt
101 }