blob: 6b44689363a9158069fee9ff94f88f8c51b1f6e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=rasdaemon
pkgver=0.6.2
pkgrel=0
pkgdesc="utility to receive RAS error tracings"
url="http://www.infradead.org/~mchehab/rasdaemon/"
arch="x86_64"
license="GPL-2.0-or-later"
depends="dmidecode
perl
perl-dbd-sqlite
"
makedepends="argp-standalone
sqlite-dev
autoconf
automake
libtool
"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc"
source="https://www.infradead.org/~mchehab/rasdaemon/rasdaemon-$pkgver.tar.bz2
libargp.patch
$pkgname.initd
"
builddir="$srcdir/rasdaemon-$pkgver"
prepare() {
default_prepare
autoreconf -i
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-aer \
--enable-extlog \
--enable-mce \
--enable-sqlite3
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname
}
sha512sums="d8c1ee2cc801124837b3a0739f3016a206165306e300ce51e6aac2cef56bb65479f96cdb019ba3a5cffeba94e7b67ca22686d4ac94bfa8a8a1145db6ba51096b rasdaemon-0.6.2.tar.bz2
83a484ab7b19dc22c2dae7636929379a70d775194566ee98012a783c7a2afa0b216ebe8b49f34f05bfe395f8f1e434ca7e739991943514faf3888689a284b781 libargp.patch
edee5b32765b3c89ab82e5cd410b0b381aa58470fdaed3a94516aa954845123b661a4923435f7d0bc9c33fb9b1e42a611dc1aa629a5db7d3e431164e4cd432cf rasdaemon.initd"
|