mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
dev-libs/zlib-google: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
dev-libs/zlib-google/Manifest
Normal file
1
dev-libs/zlib-google/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST zlib-google-97.0.4692.13.tar.gz 313211 BLAKE2B 2bf86ea9c3ffa84d3af1da212bc678695e3a7183adf6f1250d9b90d638ba2d1742551d00e0bc45e3739fca75afe2320df21d7ed93d173b2cf66afd7a3721f22f SHA512 2e71d60b1af38525559f1207b629d035221143e5e53edb73413683457a28b2db195afdd0c9c8b7a54eadeb04594478239cd8b7a2fa97f4cb7f690697704e1529
|
||||||
8
dev-libs/zlib-google/metadata.xml
Normal file
8
dev-libs/zlib-google/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>lssndrbarbieri@gmail.com</email>
|
||||||
|
<name>Alessandro Barbieri</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
43
dev-libs/zlib-google/zlib-google-97.0.4692.13.ebuild
Normal file
43
dev-libs/zlib-google/zlib-google-97.0.4692.13.ebuild
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="google zlib extras"
|
||||||
|
HOMEPAGE="https://chromium.googlesource.com/chromium/src/+/refs/heads/main/third_party/zlib/google"
|
||||||
|
SRC_URI="https://chromium.googlesource.com/chromium/src/+archive/refs/tags/${PV}/third_party/zlib.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND="sys-libs/zlib"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd google || die
|
||||||
|
|
||||||
|
tc-export CXX
|
||||||
|
|
||||||
|
${CXX} \
|
||||||
|
${CXXFLAGS} \
|
||||||
|
${LDFLAGS} \
|
||||||
|
-DUSE_SYSTEM_ZLIB \
|
||||||
|
-fPIC \
|
||||||
|
-shared \
|
||||||
|
-I. \
|
||||||
|
-Wl,-soname,libzlib_compression_utils_portable.so \
|
||||||
|
compression_utils_portable.cc \
|
||||||
|
-o libzlib_compression_utils_portable.so \
|
||||||
|
-lz \
|
||||||
|
|| die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cd google || die
|
||||||
|
dolib.so libzlib_compression_utils_portable.so
|
||||||
|
doheader compression_utils_portable.h
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user