summaryrefslogtreecommitdiff
path: root/experimental/umockdev
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 22:13:29 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-17 22:13:29 -0500
commit14649a123a4983ec8e5e36ed751db0454b2d64df (patch)
tree0ca3fd6553204577d77f726b503b605a7e2e0803 /experimental/umockdev
parent60d5c68ca332cf21d35701c2f10611e5b72c40a2 (diff)
downloadpackages-14649a123a4983ec8e5e36ed751db0454b2d64df.tar.gz
packages-14649a123a4983ec8e5e36ed751db0454b2d64df.tar.bz2
packages-14649a123a4983ec8e5e36ed751db0454b2d64df.tar.xz
packages-14649a123a4983ec8e5e36ed751db0454b2d64df.zip
experimental/umockdev: who knew this broken package would be so popular
Diffstat (limited to 'experimental/umockdev')
-rw-r--r--experimental/umockdev/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/experimental/umockdev/APKBUILD b/experimental/umockdev/APKBUILD
new file mode 100644
index 000000000..7b2c21144
--- /dev/null
+++ b/experimental/umockdev/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=umockdev
+pkgver=0.11.3
+pkgrel=0
+pkgdesc="System to mock hardware devices for creating unit tests"
+url="https://launchpad.net/umockdev"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="glib-dev gobject-introspection-dev"
+checkdepends="eudev-dev libgudev-dev python3"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/martinpitt/umockdev/releases/download/$pkgver/umockdev-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e9086777bb13dbd79b629dc68555d19fb8799720dfc4548926b87d032d94212814cb9e1de10e26f5940a9b5db9a15f62a594f3baf0050ffb9ea30f1563db6d6c umockdev-0.11.3.tar.xz"