1 |
commit: 65920648c0f178ebf5ad441b1a0742ac4d34bc68 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 18 20:51:37 2018 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 18 21:09:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65920648 |
7 |
|
8 |
dev-libs/dietlibc: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-libs/dietlibc/Manifest | 1 - |
13 |
dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild | 67 ---------------------- |
14 |
2 files changed, 68 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest |
17 |
index f9565cb0e81..5610c77f2ad 100644 |
18 |
--- a/dev-libs/dietlibc/Manifest |
19 |
+++ b/dev-libs/dietlibc/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST dietlibc-0.33_pre20110403.tar.gz 743758 BLAKE2B e6c4a6bf3198833ef309ce8035453d0c75b2e365dd4da3710c00200004ca6200f8f629bacfcaa1a4507dc43ab3b5c13ddc79ef285a77426a5c64608e308559fb SHA512 32f9d752a77bcca5703a388ba64dcb53de75999043c1b2fabe973eba05fce4e9f48a6bdb71e061939eee339ca723234d33d2acb3677a8030accaccba31a5932e |
22 |
DIST dietlibc-0.34_pre20140729.tar.bz2 670195 BLAKE2B 9479c97c09b0c8c7e5d85536afd962613e9f5fbcb1aff3ef9b2aace19d246b2d0b637f00c3abee0a2c06f170263e85ffba94247171afc47e40c8ab0e95fe5191 SHA512 a0bb5465f7fc985fd074dfcc4039003ec26b6b5fde5f2ccc53322067bd1a6459e742c9debeffda0b5146e287baa8e49f74f4a8ffafdf1daacacec4768d13db36 |
23 |
|
24 |
diff --git a/dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild b/dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild |
25 |
deleted file mode 100644 |
26 |
index 62b7fabdd9c..00000000000 |
27 |
--- a/dev-libs/dietlibc/dietlibc-0.33_pre20110403.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,67 +0,0 @@ |
30 |
-# Copyright 1999-2017 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI="3" |
34 |
- |
35 |
-inherit eutils flag-o-matic toolchain-funcs |
36 |
- |
37 |
-GITHUB_AUTHOR="hollow" |
38 |
-GITHUB_PROJECT="dietlibc" |
39 |
-GITHUB_COMMIT="4e86d5e" |
40 |
- |
41 |
-DESCRIPTION="A libc optimized for small size" |
42 |
-HOMEPAGE="http://www.fefe.de/dietlibc/" |
43 |
-SRC_URI="https://nodeload.github.com/${GITHUB_AUTHOR}/${GITHUB_PROJECT}/tarball/v${PV} -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="GPL-2" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha amd64 ~arm ia64 ~mips sparc x86 ~amd64-linux ~x86-linux" |
48 |
-IUSE="debug" |
49 |
- |
50 |
-DEPEND="" |
51 |
-RDEPEND="" |
52 |
- |
53 |
-S="${WORKDIR}"/${GITHUB_AUTHOR}-${GITHUB_PROJECT}-${GITHUB_COMMIT} |
54 |
- |
55 |
-DIETHOME=/usr/diet |
56 |
- |
57 |
-pkg_setup() { |
58 |
- # Replace sparc64 related C[XX]FLAGS (see bug #45716) |
59 |
- use sparc && replace-sparc64-flags |
60 |
- |
61 |
- # gcc-hppa suffers support for SSP, compilation will fail |
62 |
- use hppa && strip-unsupported-flags |
63 |
- |
64 |
- # debug flags |
65 |
- use debug && append-flags -g |
66 |
- |
67 |
- # Makefile does not append CFLAGS |
68 |
- append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \ |
69 |
- -Wmissing-prototypes -Wmissing-declarations -Wno-switch \ |
70 |
- -Wno-unused -Wredundant-decls -fno-strict-aliasing |
71 |
- |
72 |
- # only use -nopie on archs that support it |
73 |
- tc-enables-pie && append-flags -nopie |
74 |
-} |
75 |
- |
76 |
-src_compile() { |
77 |
- emake prefix="${EPREFIX}"${DIETHOME} \ |
78 |
- CC="$(tc-getCC)" \ |
79 |
- CFLAGS="${CFLAGS}" \ |
80 |
- STRIP=":" \ |
81 |
- || die "make failed" |
82 |
-} |
83 |
- |
84 |
-src_install() { |
85 |
- emake prefix="${EPREFIX}"${DIETHOME} \ |
86 |
- DESTDIR="${D}" \ |
87 |
- install-bin \ |
88 |
- install-headers \ |
89 |
- || die "make install failed" |
90 |
- |
91 |
- dobin "${ED}"${DIETHOME}/bin/* || die "dobin failed" |
92 |
- doman "${ED}"${DIETHOME}/man/*/* || die "doman failed" |
93 |
- rm -r "${ED}"${DIETHOME}/{man,bin} |
94 |
- |
95 |
- dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING |
96 |
-} |