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: pcmciautils-018_p8.ebuild ChangeLog
Date: Thu, 01 Nov 2012 08:06:34
Message-Id: 20121101080616.44D2F21600@flycatcher.gentoo.org
1 ssuominen 12/11/01 08:06:16
2
3 Modified: ChangeLog
4 Added: pcmciautils-018_p8.ebuild
5 Log:
6 Version bump. Include patch from Debian to remove sys-fs/sysfsutils dependency wrt #377697 by Anthony Basile. Remove now out of date notification from pkg_postinst() wrt #440592 by "poletti.marco"
7
8 (Portage version: 2.2.0_alpha135/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.41 sys-apps/pcmciautils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/ChangeLog?rev=1.41&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/ChangeLog?rev=1.41&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/ChangeLog?r1=1.40&r2=1.41
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v
20 retrieving revision 1.40
21 retrieving revision 1.41
22 diff -u -r1.40 -r1.41
23 --- ChangeLog 31 Oct 2012 19:24:28 -0000 1.40
24 +++ ChangeLog 1 Nov 2012 08:06:16 -0000 1.41
25 @@ -1,6 +1,14 @@
26 # ChangeLog for sys-apps/pcmciautils
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.40 2012/10/31 19:24:28 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/ChangeLog,v 1.41 2012/11/01 08:06:16 ssuominen Exp $
30 +
31 +*pcmciautils-018_p8 (01 Nov 2012)
32 +
33 + 01 Nov 2012; Samuli Suominen <ssuominen@g.o>
34 + +pcmciautils-018_p8.ebuild:
35 + Version bump. Include patch from Debian to remove sys-fs/sysfsutils
36 + dependency wrt #377697 by Anthony Basile. Remove now out of date notification
37 + from pkg_postinst() wrt #440592 by "poletti.marco"
38
39 31 Oct 2012; Samuli Suominen <ssuominen@g.o> pcmciautils-017.ebuild:
40 Use virtual/yacc instead of hardcoding dev-util/yacc wrt #425756 by David
41
42
43
44 1.1 sys-apps/pcmciautils/pcmciautils-018_p8.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/pcmciautils-018_p8.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcmciautils/pcmciautils-018_p8.ebuild?rev=1.1&content-type=text/plain
48
49 Index: pcmciautils-018_p8.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmciautils/pcmciautils-018_p8.ebuild,v 1.1 2012/11/01 08:06:16 ssuominen Exp $
54
55 EAPI=4
56 inherit flag-o-matic linux-info toolchain-funcs udev
57
58 DEB_REV=${PV#*_p}
59 MY_PV=${PV%_p*}
60
61 DESCRIPTION="PCMCIA userspace utilities for Linux"
62 HOMEPAGE="http://packages.qa.debian.org/pcmciautils"
63 SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz
64 mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}-${DEB_REV}.debian.tar.gz"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~arm ~ppc ~sh ~x86"
69 IUSE="debug staticsocket"
70
71 RDEPEND="virtual/modutils"
72 DEPEND="${RDEPEND}
73 virtual/yacc
74 sys-devel/flex"
75
76 S=${WORKDIR}/${PN}-${MY_PV}
77
78 pkg_setup() {
79 CONFIG_CHECK="~PCMCIA"
80 linux-info_pkg_setup
81
82 kernel_is lt 2 6 32 && ewarn "${P} requires at least kernel 2.6.32."
83
84 mypcmciaopts=(
85 STARTUP=$(usex staticsocket true false)
86 exec_prefix=/usr
87 UDEV=true
88 DEBUG=false
89 STATIC=false
90 V=true
91 udevdir="$(udev_get_udevdir)"
92 CC="$(tc-getCC)"
93 LD="$(tc-getCC)"
94 AR="$(tc-getAR)"
95 STRIP=true
96 RANLIB="$(tc-getRANLIB)"
97 OPTIMIZATION="${CFLAGS} ${CPPFLAGS}"
98 DESTDIR="${D}"
99 )
100
101 use debug && append-cppflags -DDEBUG
102 }
103
104 src_prepare() {
105 epatch \
106 "${WORKDIR}"/debian/patches/no-modprobe-rules.patch \
107 "${WORKDIR}"/debian/patches/remove-libsysfs-dep.patch
108
109 sed -i \
110 -e '/CFLAGS/s:-fomit-frame-pointer::' \
111 -e '/dir/s:sbin:bin:g' \
112 Makefile || die
113 }
114
115 src_compile() {
116 emake "${mypcmciaopts[@]}"
117 }
118
119 src_install() {
120 emake "${mypcmciaopts[@]}" install
121
122 dodoc doc/*.txt
123 }