2010-01-12 14:29:54 +01:00
|
|
|
# Template file for 'sysfsutils'
|
|
|
|
pkgname=sysfsutils
|
|
|
|
version=2.1.0
|
2014-02-16 18:56:56 +01:00
|
|
|
revision=6
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2010-01-12 14:29:54 +01:00
|
|
|
short_desc="System Utilities Based on Sysfs"
|
2013-03-31 09:52:08 +02:00
|
|
|
homepage="http://linux-diag.sourceforge.net/Sysfsutils.html"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2010-01-12 14:29:54 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-14 12:31:59 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/linux-diag/$pkgname-$version.tar.gz"
|
2010-01-12 14:29:54 +01:00
|
|
|
checksum=e865de2c1f559fff0d3fc936e660c0efaf7afe662064f2fb97ccad1ec28d208a
|
|
|
|
|
2013-04-14 12:31:59 +02:00
|
|
|
libsysfs_package() {
|
|
|
|
short_desc="Library to query system device information exposed through sysfs"
|
|
|
|
pkg_install() {
|
2014-02-16 18:56:56 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 12:31:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libsysfs-devel_package() {
|
2014-02-16 18:56:56 +01:00
|
|
|
depends="libsysfs>=${version}_${revision}"
|
|
|
|
short_desc="Library to query system device information exposed through sysfs - development tools"
|
2013-04-14 12:31:59 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-16 18:56:56 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 12:31:59 +02:00
|
|
|
}
|
|
|
|
}
|