# Contributor: Henrik Riomar # Maintainer: Henrik Riomar pkgname=rasdaemon pkgver=0.8.0 pkgrel=0 pkgdesc="utility to receive RAS error tracings" url="https://github.com/mchehab/rasdaemon" arch="x86_64" license="GPL-2.0-or-later" depends="dmidecode perl perl-dbd-sqlite " makedepends="argp-standalone sqlite-dev libtool libtraceevent-dev linux-headers " subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc" # Bad release name for 0.8.0: https://github.com/mchehab/rasdaemon/releases # https://github.com/mchehab/rasdaemon/releases/download/v$pkgver/rasdaemon-$pkgver.tar.bz2 source="https://github.com/mchehab/rasdaemon/releases/download/refs%2Fheads%2Fmaster/rasdaemon-$pkgver.tar.bz2 $pkgname.initd " build() { export LIBS="-largp" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-abrt-report \ --enable-aer \ --enable-devlink \ --enable-diskerror \ --enable-extlog \ --enable-hisi-ns-decode \ --enable-mce \ --enable-non-standard \ --enable-sqlite3 make } check() { make check } package() { make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname } sha512sums=" f6262f098fd2a08d35fef2c25e2452a202151d4cc93a1829e821abd564acf7dcf80b08f819cbd7f04244dcc9f1dec5d9138aa013bb43c8fcf19d340233275614 rasdaemon-0.8.0.tar.bz2 edee5b32765b3c89ab82e5cd410b0b381aa58470fdaed3a94516aa954845123b661a4923435f7d0bc9c33fb9b1e42a611dc1aa629a5db7d3e431164e4cd432cf rasdaemon.initd "