diff options
Diffstat (limited to 'community/openzwave')
-rw-r--r-- | community/openzwave/APKBUILD | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/community/openzwave/APKBUILD b/community/openzwave/APKBUILD index 09805c19f..c0e2f7d52 100644 --- a/community/openzwave/APKBUILD +++ b/community/openzwave/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=openzwave pkgver=1.4.164 -pkgrel=0 +pkgrel=1 pkgdesc="a C++ and DotNet library to control Z-Wave Networks via a Z-Wave Controller." url="http://www.openzwave.net/" arch="all" @@ -16,25 +16,15 @@ 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 -} - +builddir="$srcdir"/openzwave-$pkgver build() { - cd "$_builddir" + cd "$builddir" make || return 1 } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" PREFIX=/usr instlibdir=usr/lib \ + cd "$builddir" + make DESTDIR="$pkgdir" PREFIX=/usr instlibdir=usr/lib pkgconfigdir="usr/lib/pkgconfig/" \ sysconfdir=etc install || return 1 } |