2010-01-12 13:29:54 +00:00
|
|
|
# Template file for 'sysfsutils'
|
|
|
|
pkgname=sysfsutils
|
|
|
|
version=2.1.0
|
2013-04-14 10:31:59 +00:00
|
|
|
revision=5
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2010-01-12 13:29:54 +00:00
|
|
|
short_desc="System Utilities Based on Sysfs"
|
2013-03-31 07:52:08 +00:00
|
|
|
homepage="http://linux-diag.sourceforge.net/Sysfsutils.html"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2010-01-12 13:29:54 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-14 10:31:59 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/linux-diag/$pkgname-$version.tar.gz"
|
2010-01-12 13:29:54 +00:00
|
|
|
checksum=e865de2c1f559fff0d3fc936e660c0efaf7afe662064f2fb97ccad1ec28d208a
|
|
|
|
long_desc="
|
|
|
|
These are a set of utilites built upon sysfs, a new virtual filesystem
|
|
|
|
in Linux kernel versions 2.5+ that exposes a system's device tree."
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
libsysfs_package() {
|
|
|
|
short_desc="Library to query system device information exposed through sysfs"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libsysfs-devel_package() {
|
|
|
|
depends="libsysfs>=${version}"
|
|
|
|
short_desc="libsysfs - development tools"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sysfsutils_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|