# Contributor: Carlo Landmeter # Maintainer: pkgname=openzwave pkgver=1.6.974 pkgrel=2 pkgdesc="a C++ and DotNet library to control Z-Wave Networks via a Z-Wave Controller." url="https://github.com/OpenZWave/open-zwave" arch="all" license="LGPL-3.0-or-later GPL-3.0-or-later Apache-2.0" depends_dev="eudev-dev" makedepends="$depends_dev linux-headers coreutils libxml2-utils" checkdepends="perl-xml-simple" options="!check" # FIXME tests failing subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" source="http://old.openzwave.com/downloads/openzwave-$pkgver.tar.gz 0001-fix-build-on-ppc64le.patch fix-nullptr-check.patch " build() { make } check() { make check } package() { make DESTDIR="$pkgdir" PREFIX=/usr instlibdir=usr/lib pkgconfigdir="usr/lib/pkgconfig/" \ sysconfdir=etc/openzwave install } sha512sums=" 51f0bbecb8851518865f9df10e7d8800929729f610f44bec1f5ce2110496344e8a47ff9b12e850ead47850379ddcdaf95c8d6e766ab8612c5f148714913afa44 openzwave-1.6.974.tar.gz 99267867d2665f96398b72219742e068765d515e67a2c99b0a4c0e6402c0919f9077dcd892757f0a98435a475f385494745ee26ef23a5936c2975634b6b63a1b 0001-fix-build-on-ppc64le.patch 13a4937f54a38fe04bba1376c0959a61c9dbf73ce4ad3ad4bf7a8d8652bc769846a5c46215755b9a14e0f0f68194963c586e4f903ab0cdc685c09bf3a7b98755 fix-nullptr-check.patch "