aboutsummaryrefslogtreecommitdiffstats
path: root/community/openzwave/APKBUILD
blob: 09805c19f025fc95b491894667797231e16bf2ad (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
41
42
43
44
45
46
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=openzwave
pkgver=1.4.164
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="GPL"
depends=""
depends_dev="eudev-dev"
makedepends="$depends_dev linux-headers coreutils"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://old.openzwave.com/downloads/openzwave-$pkgver.tar.gz
	016d6e5d6a2d61674032805886418923d20604b9.patch
	"

_builddir="$srcdir"/openzwave-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" PREFIX=/usr instlibdir=usr/lib \
		sysconfdir=etc install || return 1
}

md5sums="5878ed2156e97614db43227c4f329d88  openzwave-1.4.164.tar.gz
e78f35a1696e66ff2ede1520a9b1a637  016d6e5d6a2d61674032805886418923d20604b9.patch"
sha256sums="4ecf39787aaf278c203764069b581dbc26094ce57cafeab4a0c1f012d2c0ac69  openzwave-1.4.164.tar.gz
0b6a30a264be908aafdbab6248b50d17de41feff52d715ece7995ee94e03e705  016d6e5d6a2d61674032805886418923d20604b9.patch"
sha512sums="a844f931bc9140e96e43c39e948317dc4271865480897ef76c1f955c59963bda8ddfb9e1a0a021fa4de5692653613277a7c74418f07d5d1678969433ff2357e4  openzwave-1.4.164.tar.gz
0fb85325ddc1cd621e697115291973c6744fdaf27a124494547f5d3c41d6148ac581b6fcdf59572e337d13a857604b5c28a75a6018d08c6d6623ad1a1d695416  016d6e5d6a2d61674032805886418923d20604b9.patch"