void-packages/srcpkgs/sysfsutils/template

29 lines
824 B
Plaintext
Raw Normal View History

# Template file for 'sysfsutils'
pkgname=sysfsutils
version=2.1.0
2014-02-16 18:56:56 +01:00
revision=6
build_style=gnu-configure
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"
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() {
2014-02-16 18:56:56 +01:00
vmove "usr/lib/*.so.*"
}
}
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"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2014-02-16 18:56:56 +01:00
vmove "usr/lib/*.so"
}
}