37 lines
811 B
Bash
37 lines
811 B
Bash
# Template file for 'edac-utils'
|
|
pkgname=edac-utils
|
|
version=0.18
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends=perl
|
|
makedepends=libsysfs-devel
|
|
short_desc="Userspace helper for kernel EDAC drivers"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/grondo/edac-utils"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=2a027dbde6c3095807c9fbfa0025bedad38fc839e9967707c1986089ff4c8750
|
|
|
|
post_install() {
|
|
rm -r ${DESTDIR}/etc/init.d
|
|
vsv edac
|
|
}
|
|
|
|
libedac_package() {
|
|
short_desc+=" - library files"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so.*
|
|
vmove etc/edac/labels.db
|
|
}
|
|
}
|
|
|
|
libedac-devel_package() {
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/lib/libedac.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/include
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|