Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/debugedit/
Date: Wed, 10 Apr 2019 15:07:40
Message-Id: 1554908842.fb64396c97204141cfdfe37343a642194cdafd60.mgorny@gentoo
1 commit: fb64396c97204141cfdfe37343a642194cdafd60
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 10 14:32:45 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 10 15:07:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb64396c
7
8 dev-util/debugedit: Drop old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-util/debugedit/debugedit-4.14.2.ebuild | 89 ------------------------------
13 1 file changed, 89 deletions(-)
14
15 diff --git a/dev-util/debugedit/debugedit-4.14.2.ebuild b/dev-util/debugedit/debugedit-4.14.2.ebuild
16 deleted file mode 100644
17 index 754bbccb0cf..00000000000
18 --- a/dev-util/debugedit/debugedit-4.14.2.ebuild
19 +++ /dev/null
20 @@ -1,89 +0,0 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit flag-o-matic
27 -
28 -MY_P=rpm-${PV}
29 -DESCRIPTION="Stand-alone debugedit from RPM"
30 -HOMEPAGE="http://www.rpm.org
31 - https://github.com/rpm-software-management/rpm"
32 -SRC_URI="http://ftp.rpm.org/releases/rpm-$(ver_cut 1-2).x/${MY_P}.tar.bz2"
33 -
34 -LICENSE="GPL-2+ LGPL-2+"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
37 -IUSE=""
38 -
39 -RDEPEND="
40 - sys-libs/zlib:=
41 - >=dev-libs/popt-1.7
42 - dev-libs/elfutils
43 - dev-libs/nss
44 -"
45 -DEPEND="${RDEPEND}
46 - virtual/pkgconfig
47 -"
48 -
49 -S=${WORKDIR}/${MY_P}
50 -
51 -src_prepare() {
52 - eapply_user
53 -
54 - # cheat it into believing we're bundling db
55 - mkdir -p db/dist || die
56 - touch db/dist/configure || die
57 - chmod +x db/dist/configure || die
58 - echo 'install:' > db3/Makefile || die
59 -
60 - # TODO: why do we need to do this?
61 - mkdir rpm || die
62 - find -name '*.h' -exec cp {} rpm/ ';' || die
63 -}
64 -
65 -src_configure() {
66 - append-cppflags -I"${EPREFIX}/usr/include/nss" -I"${EPREFIX}/usr/include/nspr"
67 - local myconf=(
68 - # force linking to static librpmio
69 - --disable-shared
70 -
71 - # disable linking compression libraries
72 - ac_cv_header_bzlib_h=no
73 - ac_cv_header_lzma_h=no
74 - --disable-zstd
75 -
76 - # fake some libraries we don't use
77 - ac_cv_header_magic_h=yes
78 - ac_cv_lib_magic_magic_open=yes
79 -
80 - # use nss as crypto provider
81 - --with-crypto=nss
82 -
83 - # disable other stuff irrelevant to debugedit
84 - --disable-nls
85 - --disable-python
86 - --without-acl
87 - --without-archive
88 - --without-cap
89 - --without-external-db
90 - --without-hackingdocs
91 - --without-lua
92 - --without-selinux
93 - )
94 - econf "${myconf[@]}"
95 -}
96 -
97 -src_compile() {
98 - emake -C misc
99 - emake -C rpmio
100 - emake debugedit
101 -}
102 -
103 -src_test() {
104 - :
105 -}
106 -
107 -src_install() {
108 - dobin debugedit
109 -}