From 2a4c4b0708f851025aa96fcb65c2adae8fba4317 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 8 Jul 2018 23:55:47 -0500 Subject: user/libgudev: pull in, bump, take, fix --- user/libgudev/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 user/libgudev/APKBUILD (limited to 'user/libgudev') diff --git a/user/libgudev/APKBUILD b/user/libgudev/APKBUILD new file mode 100644 index 000000000..b49e5db4b --- /dev/null +++ b/user/libgudev/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: A. Wilcox +pkgname=libgudev +pkgver=232 +pkgrel=0 +pkgdesc="GObject-based wrapper library for libudev" +url="https://wiki.gnome.org/Projects/libgudev" +arch="all" +[ -z "$BOOTSTRAP" ] || options="!check" # Tests require umockdev. +license="LGPL-2.0+" +depends="" +makedepends="eudev-dev glib-dev gobject-introspection-dev" +[ -n "$BOOTSTRAP" ] || makedepends="$makedepends umockdev-dev" +subpackages="$pkgname-dev" +source="https://download.gnome.org/sources/libgudev/$pkgver/libgudev-$pkgver.tar.xz" + +build() { + cd "$builddir" + + local myconf="" + [ -z "$BOOTSTRAP" ] || myconf="--disable-umockdev" + + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + $myconf + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="f648a41e2a6af7e26634c7cc259fdc47bb6e6ffb329324d157f340e42928e28c2059a0e923b9b0aaecd1ee3ecafbc7b55e5652f1f77bc1b88367b97057a1bedc libgudev-232.tar.xz" -- cgit v1.2.3-70-g09d2