1 |
commit: 2a5e49f5c45ee940ed6801c4d46feb5b2130d0b4 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 26 10:26:39 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 26 10:26:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a5e49f5 |
7 |
|
8 |
sys-apps/pcmciautils: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/pcmciautils/pcmciautils-018_p8.ebuild | 72 -------------------------- |
13 |
1 file changed, 72 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/pcmciautils/pcmciautils-018_p8.ebuild b/sys-apps/pcmciautils/pcmciautils-018_p8.ebuild |
16 |
deleted file mode 100644 |
17 |
index ccfdd306b05..00000000000 |
18 |
--- a/sys-apps/pcmciautils/pcmciautils-018_p8.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,72 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=4 |
25 |
-inherit eutils flag-o-matic linux-info toolchain-funcs udev |
26 |
- |
27 |
-DEB_REV=${PV#*_p} |
28 |
-MY_PV=${PV%_p*} |
29 |
- |
30 |
-DESCRIPTION="PCMCIA userspace utilities for Linux" |
31 |
-HOMEPAGE="https://packages.qa.debian.org/pcmciautils" |
32 |
-SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz |
33 |
- mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}-${DEB_REV}.debian.tar.gz" |
34 |
- |
35 |
-LICENSE="GPL-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64 arm ppc sh x86" |
38 |
-IUSE="debug staticsocket" |
39 |
- |
40 |
-RDEPEND="virtual/modutils" |
41 |
-DEPEND="${RDEPEND} |
42 |
- virtual/yacc |
43 |
- sys-devel/flex" |
44 |
- |
45 |
-S=${WORKDIR}/${PN}-${MY_PV} |
46 |
- |
47 |
-pkg_setup() { |
48 |
- CONFIG_CHECK="~PCMCIA" |
49 |
- linux-info_pkg_setup |
50 |
- |
51 |
- kernel_is lt 2 6 32 && ewarn "${P} requires at least kernel 2.6.32." |
52 |
- |
53 |
- mypcmciaopts=( |
54 |
- STARTUP=$(usex staticsocket true false) |
55 |
- exec_prefix=/usr |
56 |
- UDEV=true |
57 |
- DEBUG=false |
58 |
- STATIC=false |
59 |
- V=true |
60 |
- udevdir="$(get_udevdir)" |
61 |
- CC="$(tc-getCC)" |
62 |
- LD="$(tc-getCC)" |
63 |
- AR="$(tc-getAR)" |
64 |
- STRIP=true |
65 |
- RANLIB="$(tc-getRANLIB)" |
66 |
- OPTIMIZATION="${CFLAGS} ${CPPFLAGS}" |
67 |
- DESTDIR="${D}" |
68 |
- ) |
69 |
- |
70 |
- use debug && append-cppflags -DDEBUG |
71 |
-} |
72 |
- |
73 |
-src_prepare() { |
74 |
- epatch \ |
75 |
- "${WORKDIR}"/debian/patches/no-modprobe-rules.patch \ |
76 |
- "${WORKDIR}"/debian/patches/remove-libsysfs-dep.patch |
77 |
- |
78 |
- sed -i \ |
79 |
- -e '/CFLAGS/s:-fomit-frame-pointer::' \ |
80 |
- -e '/dir/s:sbin:bin:g' \ |
81 |
- Makefile || die |
82 |
-} |
83 |
- |
84 |
-src_compile() { |
85 |
- emake "${mypcmciaopts[@]}" |
86 |
-} |
87 |
- |
88 |
-src_install() { |
89 |
- emake "${mypcmciaopts[@]}" install |
90 |
- |
91 |
- dodoc doc/*.txt |
92 |
-} |