void-packages/srcpkgs/sysfsutils/template

31 lines
885 B
Plaintext

# Template file for 'sysfsutils'
pkgname=sysfsutils
version=2.1.0
revision=5
build_style=gnu-configure
short_desc="System Utilities Based on Sysfs"
homepage="http://linux-diag.sourceforge.net/Sysfsutils.html"
license="GPL-2, LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/linux-diag/$pkgname-$version.tar.gz"
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."
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"
}
}