Commit 1bce0daf authored by Marian Buschsieweke's avatar Marian Buschsieweke Committed by Milan P. Stanić

testing/libsigrok: Fixed make dependencies

Building with C++ bindings requires doxygen at build time
removed braces around builddir var (mps)
parent dff07c87
......@@ -2,11 +2,11 @@
pkgname="libsigrok"
pkgver=0.5.1
pkgrel=0
pkgrel=1
pkgdesc="A C library providing access to logic analyzers and related file formats"
url="https://sigrok.org/wiki/Libsigrok"
makedepends="libzip-dev glib-dev libserialport-dev libusb-dev libftdi1-dev
glibmm-dev check-dev"
glibmm-dev check-dev doxygen"
depends=""
arch="all"
license="GPL-3.0-only"
......@@ -19,22 +19,22 @@ builddir="$srcdir/$pkgname-$pkgver"
options="!check"
build() {
cd "${builddir}"
cd $builddir
./configure --prefix=/usr
make
}
check() {
cd "${builddir}"
cd $builddir
make check
}
package() {
cd "${builddir}"
cd $builddir
make DESTDIR="$pkgdir" install
mkdir -p "${pkgdir}/lib/udev/rules.d"
cp contrib/60-libsigrok.rules "${pkgdir}/lib/udev/rules.d/60-libsigrok.rules"
cp contrib/61-libsigrok-plugdev.rules "${pkgdir}/lib/udev/rules.d/60-libsigrok.rules"
mkdir -p "$pkgdir/lib/udev/rules.d"
cp contrib/60-libsigrok.rules "$pkgdir/lib/udev/rules.d/60-libsigrok.rules"
cp contrib/61-libsigrok-plugdev.rules "$pkgdir/lib/udev/rules.d/60-libsigrok.rules"
}
sha512sums="48337fc4625dc0abc162ae54e04ce091047835aa1e49ba1ab84542805008d1ff5646b143fde57e317f3b34514c0e6d4dcb7b1c5944f3f16bdef1a7169edc3517 libsigrok-0.5.1.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment