aboutsummaryrefslogtreecommitdiffstats
path: root/community/openzwave/APKBUILD
blob: 13634d874281771dd4c122d3289621ab0dccbb9a (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=openzwave
pkgver=1.6.921
pkgrel=0
pkgdesc="a C++ and DotNet library to control Z-Wave Networks via a Z-Wave Controller."
url="http://www.openzwave.net/"
arch="all"
license="LGPL-3.0-or-later GPL-3.0-or-later Apache-2.0"
depends=""
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
	"
builddir="$srcdir"/openzwave-$pkgver

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX=/usr instlibdir=usr/lib pkgconfigdir="usr/lib/pkgconfig/" \
		sysconfdir=etc/openzwave install
}

sha512sums="32060266cf7ba444cea6a318442a0603dbdf3d84784c462951e7a468ca92361eae396e8a2d5a417b2fc999a35bd439edad5951f8be699bbd8ec6f0c20e5a7194  openzwave-1.6.921.tar.gz
23aac3bf8664cff3f32a839057d2b1ed564cb1b754eed595f12a8e31b3ca2955a7c85eb3f79e1831d62ad2c2dfe7237d8e65dac88af009b891e15c392400f385  0001-fix-build-on-ppc64le.patch"