diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-06-02 09:46:16 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-06-02 09:46:16 +0000 |
commit | 9a2d64f697fefea7df0bcbc5ac285164bbe12cc8 (patch) | |
tree | 4f5e6d49d7cd88fac81e7abac40463efa2a2fc42 /dev-libs/libproccpuinfo | |
parent | Need more general version handling (diff) | |
download | gentoo-2-9a2d64f697fefea7df0bcbc5ac285164bbe12cc8.tar.gz gentoo-2-9a2d64f697fefea7df0bcbc5ac285164bbe12cc8.tar.bz2 gentoo-2-9a2d64f697fefea7df0bcbc5ac285164bbe12cc8.zip |
Bump to eapi4 and cleanup a little.
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libproccpuinfo')
-rw-r--r-- | dev-libs/libproccpuinfo/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libproccpuinfo/libproccpuinfo-0.0.8.ebuild | 16 |
2 files changed, 14 insertions, 9 deletions
diff --git a/dev-libs/libproccpuinfo/ChangeLog b/dev-libs/libproccpuinfo/ChangeLog index 9097889d30f2..baf3ed9b04ec 100644 --- a/dev-libs/libproccpuinfo/ChangeLog +++ b/dev-libs/libproccpuinfo/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/libproccpuinfo -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libproccpuinfo/ChangeLog,v 1.23 2011/07/11 15:36:38 mattst88 Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libproccpuinfo/ChangeLog,v 1.24 2012/06/02 09:46:16 scarabeus Exp $ + + 02 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> libproccpuinfo-0.0.8.ebuild: + Bump to eapi4 and cleanup a little. 11 Jul 2011; Matt Turner <mattst88@gentoo.org> libproccpuinfo-0.0.8.ebuild: Added ~mips diff --git a/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8.ebuild b/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8.ebuild index 9a16fdfefb4b..8d0676004489 100644 --- a/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8.ebuild +++ b/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8.ebuild,v 1.3 2011/07/11 15:36:38 mattst88 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libproccpuinfo/libproccpuinfo-0.0.8.ebuild,v 1.4 2012/06/02 09:46:16 scarabeus Exp $ + +EAPI=4 inherit cmake-utils -DESCRIPTION="architecture independent C API for reading /proc/cpuinfo" +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" @@ -20,8 +22,8 @@ DOCS="AUTHORS ChangeLog HACKING README THANKS TODO" CMAKE_IN_SOURCE_BUILD="yes" -src_unpack() { - unpack ${A} - cd "${S}" - sed -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" -i CMakeLists.txt +src_prepare() { + sed -i \ + -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \ + CMakeLists.txt || die } |