1 |
commit: 2ca9ab4a8c15fd74959cd21b468fec4bd17971aa |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 7 00:42:41 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 7 00:42:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca9ab4a |
7 |
|
8 |
app-arch/lzlib: Bump to 1.12 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-arch/lzlib/Manifest | 1 + |
13 |
app-arch/lzlib/lzlib-1.12.ebuild | 32 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/app-arch/lzlib/Manifest b/app-arch/lzlib/Manifest |
17 |
index 47995833baf..7911ded0677 100644 |
18 |
--- a/app-arch/lzlib/Manifest |
19 |
+++ b/app-arch/lzlib/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST lzlib-1.11.tar.gz 105873 BLAKE2B 6caadc4c3b78db835bcf4f11e5290342f0f952943006589345898a85211b0a0ae5d775d0a8e7747c549eae00dd0abd2e2afb5c07eb75b4fda712a9361a71bd59 SHA512 5aa3ff084177efe906518724a98a78c32d1c0e02b967800a44388fc6af441de48fcc5899457913fca11fae3beb8bebc260ac447f0a336b1c14f3f13726114567 |
22 |
+DIST lzlib-1.12.tar.gz 128996 BLAKE2B 3a86005eaf660a45888ec5af97bc6100368da2a3003c119c2379e881cd77ef318707342b7c930efa9473b671b8c2aff5c5e00dd5b312f647b7cafc39f29a2eea SHA512 b5379422eed4016b0ee124e39902dd22c314ca5cc5f72c1af5ec2ef6a68e1e85c523ab18e30048d453689f73f780d0144dcabaf881337e1c8101e2fe17ee21f8 |
23 |
|
24 |
diff --git a/app-arch/lzlib/lzlib-1.12.ebuild b/app-arch/lzlib/lzlib-1.12.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..c99b421c1c7 |
27 |
--- /dev/null |
28 |
+++ b/app-arch/lzlib/lzlib-1.12.ebuild |
29 |
@@ -0,0 +1,32 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="Library for lzip compression" |
38 |
+HOMEPAGE="https://www.nongnu.org/lzip/lzlib.html" |
39 |
+SRC_URI="https://download.savannah.gnu.org/releases/lzip/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="libstdc++" # fancy form of GPL-2+ with library exception |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
44 |
+IUSE="" |
45 |
+ |
46 |
+src_configure() { |
47 |
+ local myconf=( |
48 |
+ --enable-shared |
49 |
+ --disable-static |
50 |
+ --disable-ldconfig |
51 |
+ --prefix="${EPREFIX}"/usr |
52 |
+ --libdir='$(prefix)'/$(get_libdir) |
53 |
+ CC="$(tc-getCC)" |
54 |
+ CFLAGS="${CFLAGS}" |
55 |
+ CPPFLAGS="${CPPFLAGS}" |
56 |
+ LDFLAGS="${LDFLAGS}" |
57 |
+ ) |
58 |
+ |
59 |
+ # not autotools-based |
60 |
+ ./configure "${myconf[@]}" || die |
61 |
+} |