diff options
author | Johannes Huber <johu@gentoo.org> | 2017-01-28 17:56:45 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-01-28 17:56:58 +0100 |
commit | 34def4e4e44a8c69f23687b1c0e59e5850221598 (patch) | |
tree | 94a6bf4fff65219f84227a8c37275c07e8a5a9a4 /dev-libs/libproccpuinfo | |
parent | net-nntp/nzbget: remove unused patch (diff) | |
download | gentoo-34def4e4e44a8c69f23687b1c0e59e5850221598.tar.gz gentoo-34def4e4e44a8c69f23687b1c0e59e5850221598.tar.bz2 gentoo-34def4e4e44a8c69f23687b1c0e59e5850221598.zip |
dev-libs/libproccpuinfo: EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs/libproccpuinfo')
-rw-r--r-- | dev-libs/libproccpuinfo/libproccpuinfo-0.0.8-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8-r1.ebuild b/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8-r1.ebuild new file mode 100644 index 000000000000..235ded8c9c86 --- /dev/null +++ b/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Architecture independent C API for reading /proc/cpuinfo" +HOMEPAGE="https://savannah.nongnu.org/projects/proccpuinfo/" +SRC_URI="http://download.savannah.nongnu.org/releases/proccpuinfo/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~x86" +IUSE="" + +DEPEND=">=sys-devel/flex-2.5.33" +RDEPEND="" + +DOCS=( AUTHORS ChangeLog HACKING README THANKS TODO ) + +CMAKE_IN_SOURCE_BUILD="yes" + +src_prepare() { + sed -i \ + -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \ + CMakeLists.txt || die + + cmake-utils_src_prepare +} |