diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-02-08 14:09:00 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-02-08 14:25:48 +0100 |
commit | 4a137a0a30681867897804fe5881ee9de1e4620e (patch) | |
tree | bc9c6450ac9bca831a8a5f9ac64b02ca77a663ab /testing | |
parent | fcd1124a8632e9d2b1fab8d133dcf18f436156a2 (diff) | |
download | aports-4a137a0a30681867897804fe5881ee9de1e4620e.tar.bz2 aports-4a137a0a30681867897804fe5881ee9de1e4620e.tar.xz |
testing/openzwave: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/openzwave/016d6e5d6a2d61674032805886418923d20604b9.patch | 24 | ||||
-rw-r--r-- | testing/openzwave/APKBUILD | 46 |
2 files changed, 70 insertions, 0 deletions
diff --git a/testing/openzwave/016d6e5d6a2d61674032805886418923d20604b9.patch b/testing/openzwave/016d6e5d6a2d61674032805886418923d20604b9.patch new file mode 100644 index 0000000000..fc834b51d2 --- /dev/null +++ b/testing/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/testing/openzwave/APKBUILD b/testing/openzwave/APKBUILD new file mode 100644 index 0000000000..c366d2ea3d --- /dev/null +++ b/testing/openzwave/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=openzwave +pkgver=1.4.1 +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="9cbe8203ded0af432fe4c814ed79fa37 openzwave-1.4.1.tar.gz +e78f35a1696e66ff2ede1520a9b1a637 016d6e5d6a2d61674032805886418923d20604b9.patch" +sha256sums="171556c3583a66203c6a1a7453414ff126a36b5d83ec50ac9bfb227127ff705e openzwave-1.4.1.tar.gz +0b6a30a264be908aafdbab6248b50d17de41feff52d715ece7995ee94e03e705 016d6e5d6a2d61674032805886418923d20604b9.patch" +sha512sums="9cd1014a96c3a9a7c0ce97c1e0a5e54703763c51d6d4a858c8e1cdc75221b072a3beba74f17a0d712a4e6ad790e4873cd2b7f6f0117a706b91a5c37a23181a6d openzwave-1.4.1.tar.gz +0fb85325ddc1cd621e697115291973c6744fdaf27a124494547f5d3c41d6148ac581b6fcdf59572e337d13a857604b5c28a75a6018d08c6d6623ad1a1d695416 016d6e5d6a2d61674032805886418923d20604b9.patch" |