Skip to content

Commit

Permalink
app-arch/snappy: Port to cmake.eclass
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Jun 8, 2020
1 parent 40ab8cc commit 11ae42c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app-arch/snappy/snappy-1.1.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

CMAKE_ECLASS=cmake
inherit cmake-multilib

DESCRIPTION="A high-speed compression/decompression library by Google"
Expand Down Expand Up @@ -33,7 +35,7 @@ src_prepare() {
# it off
sed -i -e '/run_microbenchmarks/s:true:false:' snappy-test.cc || die

cmake-utils_src_prepare
cmake_src_prepare
}

multilib_src_configure() {
Expand All @@ -52,7 +54,7 @@ multilib_src_configure() {
-DHAVE_LIBZ=NO
-DHAVE_LIBLZO2=NO
)
cmake-utils_src_configure
cmake_src_configure
}

multilib_src_test() {
Expand Down

0 comments on commit 11ae42c

Please sign in to comment.