aboutsummaryrefslogtreecommitdiffstats
path: root/community/openzwave/APKBUILD
blob: f503a89cf592d3c8664223f878d309c79d8fc1de (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=openzwave
pkgver=1.4.164
pkgrel=4
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
	016d6e5d6a2d61674032805886418923d20604b9.patch
	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="a844f931bc9140e96e43c39e948317dc4271865480897ef76c1f955c59963bda8ddfb9e1a0a021fa4de5692653613277a7c74418f07d5d1678969433ff2357e4  openzwave-1.4.164.tar.gz
0fb85325ddc1cd621e697115291973c6744fdaf27a124494547f5d3c41d6148ac581b6fcdf59572e337d13a857604b5c28a75a6018d08c6d6623ad1a1d695416  016d6e5d6a2d61674032805886418923d20604b9.patch
67e43688d44a43f416e85f035703a8eee11d12f3bf64e93d56b15927bb48bd4cb21e9111876da061a6bc7e75cdae92688ea061e8db8688438ea27a6d3cd7eab2  0001-fix-build-on-ppc64le.patch"