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-apps/pcmciautils: ChangeLog pcmciautils-015.ebuild
Date: Mon, 01 Sep 2008 05:12:32
Message-Id: E1Ka1iH-00054E-4s@stork.gentoo.org
1 vapier 08/09/01 05:12:29
2
3 Modified: ChangeLog
4 Added: pcmciautils-015.ebuild
5 Log:
6 Version bump and cleanup.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)
8
9 Revision Changes Path
10 1.35 sys-apps/pcmciautils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pcmciautils/ChangeLog?rev=1.35&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pcmciautils/ChangeLog?rev=1.35&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pcmciautils/ChangeLog?r1=1.34&r2=1.35
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v
19 retrieving revision 1.34
20 retrieving revision 1.35
21 diff -u -r1.34 -r1.35
22 --- ChangeLog 23 Aug 2008 06:18:59 -0000 1.34
23 +++ ChangeLog 1 Sep 2008 05:12:28 -0000 1.35
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/pcmciautils
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.34 2008/08/23 06:18:59 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.35 2008/09/01 05:12:28 vapier Exp $
29 +
30 +*pcmciautils-015 (01 Sep 2008)
31 +
32 + 01 Sep 2008; Mike Frysinger <vapier@g.o> +pcmciautils-015.ebuild:
33 + Version bump and cleanup.
34
35 23 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
36 add GLEP 56 USE flag desc from use.local.desc
37
38
39
40 1.1 sys-apps/pcmciautils/pcmciautils-015.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pcmciautils/pcmciautils-015.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pcmciautils/pcmciautils-015.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pcmciautils-015.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-apps/pcmciautils/pcmciautils-015.ebuild,v 1.1 2008/09/01 05:12:28 vapier Exp $
50
51 inherit eutils flag-o-matic toolchain-funcs linux-info
52
53 DESCRIPTION="PCMCIA userspace utilities for Linux kernel 2.6.13 and beyond"
54 HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
55 SRC_URI="mirror://kernel/linux/utils/kernel/pcmcia/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~arm ~ppc ~sh ~x86"
60 IUSE="debug static staticsocket"
61
62 RDEPEND=">=sys-fs/sysfsutils-1.2.0-r1
63 >=sys-apps/module-init-tools-3.2_pre4"
64 DEPEND="${RDEPEND}
65 || ( dev-util/yacc sys-devel/bison )
66 sys-devel/flex"
67
68 CONFIG_CHECK="~PCMCIA"
69 ERROR_PCMCIA="${P} requires 16-bit PCMCIA support (CONFIG_PCMCIA)"
70
71 pkg_setup() {
72 linux-info_pkg_setup
73 kernel_is lt 2 6 13 && ewarn "${P} requires at least kernel 2.6.13."
74 }
75
76 use_tf() { use $1 && echo true || echo false ; }
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80 sed -i \
81 -e '/DEBUG\>/s:=.*:= false:' \
82 -e '/UDEV\>/s:=.*:= true:' \
83 -e '/CFLAGS/s:-fomit-frame-pointer::' \
84 -e '/^STATIC\>/s:=.*:= '$(use_tf static)':' \
85 -e '/^STARTUP\>/s:=.*:= '$(use_tf staticsocket)':' \
86 Makefile || die
87 use debug && append-flags -DDEBUG
88 }
89
90 src_compile() {
91 emake \
92 OPTIMIZATION="${CFLAGS} ${CPPFLAGS}" \
93 V="true" \
94 CC="$(tc-getCC)" \
95 LD="$(tc-getCC)" \
96 STRIP="true" \
97 || die "emake failed"
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die "make install failed"
102 dodoc doc/*.txt
103 }
104
105 pkg_postinst() {
106 ewarn "If you relied on pcmcia-cs to automatically load the appropriate"
107 ewarn "PCMCIA-related modules upon boot, you need to add 'pcmcia' and the"
108 ewarn "PCMCIA socket driver you need for this system (yenta-socket,"
109 ewarn "i82092, i82365, ...) to /etc/modules.autoload.d/kernel-2.6"
110 }