dev-cpp/curlpp: Migrate from cmake-utils to cmake.

This commit is contained in:
tastytea 2020-11-17 17:50:52 +01:00
parent 6dbe8f4c47
commit eee3d11591
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# Copyright 2018-2019 Gentoo Authors
# Copyright 2018-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
inherit cmake
DESCRIPTION="C++ wrapper for libcURL"
HOMEPAGE="http://www.curlpp.org/"
@ -19,7 +19,7 @@ DEPEND=">=dev-util/cmake-3.9.6
${RDEPEND}"
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
sed -i 's/@LDFLAGS@ //' extras/curlpp.pc.in || die
sed -i 's,@includedir@,${prefix}/@includedir@,' extras/curlpp.pc.in || die
sed -i 's,@libdir@,${prefix}/@libdir@,' extras/curlpp.pc.in || die
@ -29,7 +29,7 @@ src_prepare() {
}
src_install() {
cmake-utils_src_install
cmake_src_install
dodoc Readme.md doc/AUTHORS doc/TODO
if use doc; then
dodoc doc/guide.pdf