From d51a08d0126a4b95d1519fc52fe30dd4e27e3507 Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Mon, 15 Mar 2021 20:34:42 +0100 Subject: [PATCH] cpp-d1064d --- debian/eibd.changelog | 2 +- debian/eibd.control | 10 ++++++++++ debian/eibd.cp | 6 ++++++ debian/eibd.prebuild | 3 ++- debian/eibd.prepare | 6 ++++++ eibd/configure | 3 +++ 6 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 debian/eibd.control create mode 100755 debian/eibd.cp create mode 100755 debian/eibd.prepare diff --git a/debian/eibd.changelog b/debian/eibd.changelog index a812b59..61dc255 100644 --- a/debian/eibd.changelog +++ b/debian/eibd.changelog @@ -1,3 +1,3 @@ -knxd (0.14-%BUILD%) unstable; urgency=medium +projects (0.14-%BUILD%) unstable; urgency=medium * knxd -- Michael Wagner Thu, 11 Feb 2021 10:00:00 +0100 diff --git a/debian/eibd.control b/debian/eibd.control new file mode 100644 index 0000000..ccdb1e1 --- /dev/null +++ b/debian/eibd.control @@ -0,0 +1,10 @@ +Source: projects +Section: main +Priority: optional +Maintainer: Koegler +Build-Depends: git + +Package: eibd +Architecture: _DEB_HOST_ARCH +Description: eibd knx deamon + diff --git a/debian/eibd.cp b/debian/eibd.cp new file mode 100755 index 0000000..17f64ca --- /dev/null +++ b/debian/eibd.cp @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +cd ../build/bcusdk-0.0.5 +make install + diff --git a/debian/eibd.prebuild b/debian/eibd.prebuild index 6578cab..b4b12bf 100755 --- a/debian/eibd.prebuild +++ b/debian/eibd.prebuild @@ -13,8 +13,9 @@ popd >/dev/null wget --no-check-certificate http://www.auto.tuwien.ac.at/~mkoegler/eib/bcusdk_0.0.5.tar.gz tar xf bcusdk_0.0.5.tar.gz +cp ~/projects/eibd/configure bcusdk-0.0.5/ pushd bcusdk-0.0.5 - ./configure --with-pth=../pthsem-2.0.8 --without-pth-test --enable-onlyeibd --enable-eibnetip --enable-eibnetiptunnel --enable-eibnetipserver --enable-tpuarts + ./configure --with-pth=subdir:$HOME/build/pthsem-2.0.8 --without-pth-test --enable-onlyeibd --enable-eibnetip --enable-eibnetiptunnel --enable-eibnetipserver --enable-tpuarts --prefix=$HOME/projects/debian/tmp/usr popd >/dev/null diff --git a/debian/eibd.prepare b/debian/eibd.prepare new file mode 100755 index 0000000..6fbcfe6 --- /dev/null +++ b/debian/eibd.prepare @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +# override package version +echo "version=0.0.5" >> debian/setenv.sh + diff --git a/eibd/configure b/eibd/configure index b835ad1..6afea0c 100755 --- a/eibd/configure +++ b/eibd/configure @@ -15933,8 +15933,11 @@ if test ".$with_pth" != .no; then if test ".$_pth_subdir" = .yes; then _pth_location="$with_pth" _pth_type='local' +#mjm _pth_cppflags="-I$with_pth" _pth_cflags="-I$with_pth" +# _pth_cppflags="-isystem$with_pth" +# _pth_cflags="-isystem$with_pth" if test -f "$with_pth/ltconfig"; then _pth_ldflags="-L$with_pth/.libs" else -- 2.20.1