Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/discount/
Date: Fri, 07 Jan 2022 19:47:40
Message-Id: 1641584846.e19db50ba61789e132ad090db35f112828a76d35.bkohler@gentoo
1 commit: e19db50ba61789e132ad090db35f112828a76d35
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 7 19:36:45 2022 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 7 19:47:26 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e19db50b
7
8 app-text/discount: drop old
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 app-text/discount/discount-2.2.7-r1.ebuild | 69 ------------------------------
14 1 file changed, 69 deletions(-)
15
16 diff --git a/app-text/discount/discount-2.2.7-r1.ebuild b/app-text/discount/discount-2.2.7-r1.ebuild
17 deleted file mode 100644
18 index 1ecc2092dae3..000000000000
19 --- a/app-text/discount/discount-2.2.7-r1.ebuild
20 +++ /dev/null
21 @@ -1,69 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -inherit toolchain-funcs
28 -
29 -DESCRIPTION="A Markdown-to HTML translator written in C"
30 -HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
31 -SRC_URI="http://www.pell.portland.or.us/~orc/Code/${PN}/${P}.tar.bz2"
32 -
33 -LICENSE="BSD"
34 -SLOT="0"
35 -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 sparc x86"
36 -IUSE="minimal test"
37 -RESTRICT="!test? ( test )"
38 -
39 -PATCHES=( "${FILESDIR}"/gethopt-undefined.patch )
40 -
41 -src_prepare() {
42 - default
43 -
44 - # for QA, we remove the Makefile’s usage of install -s.
45 - # Drop ldconfig invocation.
46 - # Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS
47 - # at that point).
48 - sed -i \
49 - -e '/INSTALL_PROGRAM/s,\$_strip ,,' \
50 - -e 's/\(LDCONFIG=\).*/\1:/' \
51 - -e 's/\(.\)\$FLAGS/& \1$LDFLAGS/' \
52 - configure.inc || die "sed configure.inc failed"
53 -}
54 -
55 -src_configure() {
56 - local configure_call=(
57 - ./configure.sh
58 - --libdir="${EPREFIX}/usr/$(get_libdir)"
59 - --prefix="${EPREFIX}/usr"
60 - --mandir="${EPREFIX}/usr/share/man"
61 - --shared
62 - --pkg-config
63 - $(usex minimal '' --enable-all-features)
64 - # Enable deterministic HTML generation behavior. Otherwise, will
65 - # actually call rand() as part of its serialization code...
66 - --debian-glitch
67 - )
68 - einfo "Running ${configure_call[@]}"
69 - CC="$(tc-getCC)" AR="$(tc-getAR)" \
70 - "${configure_call[@]}" || die
71 -}
72 -
73 -src_compile() {
74 - emake libmarkdown
75 - emake
76 -}
77 -
78 -src_install() {
79 - emake \
80 - DESTDIR="${D}" \
81 - $(usex minimal install install.everything) \
82 - SAMPLE_PFX="${PN}-"
83 -}
84 -
85 -pkg_postinst() {
86 - if ! use minimal; then
87 - elog 'Sample binaries with overly-generic names have been'
88 - elog "prefixed with \"${PN}-\"."
89 - fi
90 -}