diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-04-19 16:24:47 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-04-19 16:42:34 +0200 |
commit | 270e41f60340a746beba1d94f729fb21386f5b1b (patch) | |
tree | bd3cb71331c7edd91eca0137f69b8786145fdbfc /community/openzwave | |
parent | 5f8cab665fd190af5e40e486cb19ebbcbcce6b4c (diff) | |
download | aports-270e41f60340a746beba1d94f729fb21386f5b1b.tar.bz2 aports-270e41f60340a746beba1d94f729fb21386f5b1b.tar.xz |
community/openzwave: upgrade to 1.4.164 and move to community
Diffstat (limited to 'community/openzwave')
-rw-r--r-- | community/openzwave/016d6e5d6a2d61674032805886418923d20604b9.patch | 24 | ||||
-rw-r--r-- | community/openzwave/APKBUILD | 46 |
2 files changed, 70 insertions, 0 deletions
diff --git a/community/openzwave/016d6e5d6a2d61674032805886418923d20604b9.patch b/community/openzwave/016d6e5d6a2d61674032805886418923d20604b9.patch new file mode 100644 index 0000000000..fc834b51d2 --- /dev/null +++ b/community/openzwave/016d6e5d6a2d61674032805886418923d20604b9.patch @@ -0,0 +1,24 @@ +From 016d6e5d6a2d61674032805886418923d20604b9 Mon Sep 17 00:00:00 2001 +From: Carlo Landmeter <clandmeter@gmail.com> +Date: Mon, 8 Feb 2016 14:05:35 +0100 +Subject: [PATCH] Support multiple CPPFLAGS + +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 81023a3..ab94b8c 100644 +--- a/Makefile ++++ b/Makefile +@@ -17,8 +17,8 @@ PREFIX ?= /usr/local + export PREFIX + + all: +- CPPFLAGS=$(CPPFLAGS) $(MAKE) -C $(top_srcdir)/cpp/build/ -$(MAKEFLAGS) +- CPPFLAGS=$(CPPFLAGS) $(MAKE) -C $(top_srcdir)/cpp/examples/MinOZW/ -$(MAKEFLAGS) ++ CPPFLAGS="$(CPPFLAGS)" $(MAKE) -C $(top_srcdir)/cpp/build/ -$(MAKEFLAGS) ++ CPPFLAGS="$(CPPFLAGS)" $(MAKE) -C $(top_srcdir)/cpp/examples/MinOZW/ -$(MAKEFLAGS) + + install: + $(MAKE) -C $(top_srcdir)/cpp/build/ -$(MAKEFLAGS) $(MAKECMDGOALS) diff --git a/community/openzwave/APKBUILD b/community/openzwave/APKBUILD new file mode 100644 index 0000000000..09805c19f0 --- /dev/null +++ b/community/openzwave/APKBUILD @@ -0,0 +1,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" |