2013-08-20 19:08:03 +00:00
|
|
|
# Template file for 'hardinfo'
|
|
|
|
pkgname=hardinfo
|
|
|
|
version=0.5.1
|
2014-11-02 15:42:11 +00:00
|
|
|
revision=3
|
2014-06-06 05:07:29 +00:00
|
|
|
lib32disabled=yes
|
|
|
|
build_style=gnu-configure
|
2013-08-20 19:08:03 +00:00
|
|
|
hostmakedepends="pkg-config which"
|
|
|
|
makedepends="gtk+-devel libsoup-devel desktop-file-utils"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="desktop-file-utils"
|
2013-08-20 19:08:03 +00:00
|
|
|
short_desc="A system information and benchmark tool"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-08-20 19:08:03 +00:00
|
|
|
license="GPL-2"
|
2014-11-02 15:42:11 +00:00
|
|
|
homepage="http://sourceforge.net/projects/hardinfo.berlios/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}.berlios/${pkgname}-${version}.tar.bz2"
|
2013-08-20 19:08:03 +00:00
|
|
|
checksum=a0df6c0d7c92a7d20710b8eb551197398a965aaae053782b89a32a160b731b7a
|
2014-11-02 15:47:57 +00:00
|
|
|
nocross=yes
|
2013-08-20 19:08:03 +00:00
|
|
|
|
2014-06-06 05:07:29 +00:00
|
|
|
pre_configure() {
|
2013-08-20 19:08:03 +00:00
|
|
|
sed -i 's|/usr/lib64|/usr/lib|' configure
|
|
|
|
sed -i 's|lib64|lib|' binreloc.c
|
|
|
|
sed -i 's|{ DB_PREFIX "debian_version", "deb" },|{ DB_PREFIX "hardinfo.distro", "Void" },{ DB_PREFIX "debian_version", "deb" },|' computer.h
|
|
|
|
}
|
2014-06-06 05:07:29 +00:00
|
|
|
do_build() {
|
|
|
|
make libdir="${XBPS_CROSS_BASE}/usr/lib" ${makejobs}
|
|
|
|
}
|
2013-08-20 19:08:03 +00:00
|
|
|
do_install() {
|
2014-06-06 05:07:29 +00:00
|
|
|
make libdir="${XBPS_CROSS_BASE}/usr/lib" DESTDIR=${DESTDIR} install
|
2013-08-20 19:08:03 +00:00
|
|
|
vmkdir etc
|
|
|
|
echo "Void Linux" > ${DESTDIR}/etc/hardinfo.distro
|
|
|
|
}
|