pmaports/main/umockdev/APKBUILD

33 lines
986 B
Text
Raw Normal View History

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=umockdev
pkgver=0.13.2
pkgrel=0
pkgdesc="Record/mock hardware devices for bug reports and regression tests"
arch="all"
url="https://github.com/martinpitt/umockdev/"
license="LGPL-2.1"
depends_dev="eudev-dev libgudev-dev"
makedepends="$depends_dev autoconf automake libtool gtk-doc vala linux-headers bash"
source="$pkgname-$pkgver.tar.gz::https://github.com/martinpitt/$pkgname/archive/$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
options="!check" # Testbed.create_node_for_device: openpty() failed: No such file or directory
build() {
./autogen.sh \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-gtk-doc
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="58a0e2cf9c387a495a39d2094c3f5ea733b28b1dbadb0b8e4fc5bad559359d7f46c968112bc27206d4ecfa03f88562c712b62fa9dae7628181f2ff59e9a143c6 umockdev-0.13.2.tar.gz"