2016-05-18 11:49:02 +02:00
|
|
|
# Template file for 'edac-utils'
|
|
|
|
pkgname=edac-utils
|
|
|
|
version=0.18
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
2017-01-16 12:44:07 +01:00
|
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
2016-05-18 11:49:02 +02:00
|
|
|
hostmakedepends=perl
|
|
|
|
makedepends=libsysfs-devel
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://github.com/grondo/edac-utils"
|
|
|
|
short_desc="Userspace helper for kernel EDAC drivers"
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|