void-packages/srcpkgs/sysfsutils/template

29 lines
824 B
Bash

# Template file for 'sysfsutils'
pkgname=sysfsutils
version=2.1.0
revision=6
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
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"
}
}