29 lines
848 B
Bash
29 lines
848 B
Bash
# Template file for 'sysfsutils'
|
|
pkgname=sysfsutils
|
|
version=2.1.0
|
|
revision=7
|
|
build_style=gnu-configure
|
|
short_desc="System Utilities Based on Sysfs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-2.0-only, LGPL-2.1-or-later"
|
|
homepage="http://linux-diag.sourceforge.net/Sysfsutils.html"
|
|
distfiles="${SOURCEFORGE_SITE}/linux-diag/sysfsutils-${version}.tar.gz"
|
|
checksum=e865de2c1f559fff0d3fc936e660c0efaf7afe662064f2fb97ccad1ec28d208a
|
|
|
|
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}_${revision}"
|
|
short_desc="Library to query system device information exposed through sysfs - development tools"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|