dev-cpp/curlpp: Migrate from cmake-utils to cmake.
This commit is contained in:
parent
6dbe8f4c47
commit
eee3d11591
|
@ -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
|
||||
|
|
Reference in New Issue
Block a user