2010-01-12 13:29:54 +00:00
|
|
|
# Template file for 'sysfsutils'
|
|
|
|
pkgname=sysfsutils
|
|
|
|
version=2.1.0
|
2014-02-16 17:56:56 +00:00
|
|
|
revision=6
|
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
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
libsysfs_package() {
|
|
|
|
short_desc="Library to query system device information exposed through sysfs"
|
|
|
|
pkg_install() {
|
2014-02-16 17:56:56 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 10:31:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libsysfs-devel_package() {
|
2014-02-16 17:56:56 +00:00
|
|
|
depends="libsysfs>=${version}_${revision}"
|
|
|
|
short_desc="Library to query system device information exposed through sysfs - development tools"
|
2013-04-14 10:31:59 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-16 17:56:56 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 10:31:59 +00:00
|
|
|
}
|
|
|
|
}
|