| 
									
										
										
										
											2016-02-25 01:12:59 +00:00
										 |  |  | # Copyright 2016 Julian Ospald <hasufell@posteo.de> | 
					
						
							|  |  |  | # Distributed under the terms of the GNU General Public License v2 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-23 02:22:08 +00:00
										 |  |  | require cmake [ api=2 ] | 
					
						
							| 
									
										
										
										
											2016-02-25 01:12:59 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | SUMMARY="A system information and benchmark tool for Linux systems" | 
					
						
							|  |  |  | HOMEPAGE="http://hardinfo.org/" | 
					
						
							|  |  |  | DOWNLOADS="https://dev.gentoo.org/~hasufell/distfiles/${PNV}.tar.xz" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | LICENCES="GPL-2" | 
					
						
							|  |  |  | SLOT="0" | 
					
						
							|  |  |  | PLATFORMS="~amd64 ~x86" | 
					
						
							|  |  |  | MYOPTIONS="" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | DEPENDENCIES="
 | 
					
						
							|  |  |  |     build: | 
					
						
							|  |  |  |         virtual/pkg-config | 
					
						
							|  |  |  |     build+run: | 
					
						
							|  |  |  |         dev-libs/glib:2 | 
					
						
							|  |  |  |         gnome-desktop/libsoup | 
					
						
							|  |  |  |         x11-libs/gdk-pixbuf | 
					
						
							|  |  |  |         x11-libs/gtk+:2 | 
					
						
							|  |  |  |         x11-libs/pango | 
					
						
							|  |  |  | "
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-23 10:37:22 +00:00
										 |  |  | REMOTE_IDS="github:lpereira/${PN}" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-25 01:12:59 +00:00
										 |  |  | src_prepare() { | 
					
						
							|  |  |  |     edo sed -i \
 | 
					
						
							|  |  |  |         -e '/PREFIX/s:@CMAKE_INSTALL_PREFIX@/share:@CMAKE_INSTALL_DATAROOTDIR@:' \
 | 
					
						
							| 
									
										
										
										
											2016-04-23 02:22:08 +00:00
										 |  |  |         "${CMAKE_SOURCE}"/config.h.cmake | 
					
						
							|  |  |  |     cmake_src_prepare | 
					
						
							| 
									
										
										
										
											2016-02-25 01:12:59 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 |