diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 23:55:47 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 23:55:47 -0500 |
commit | 2a4c4b0708f851025aa96fcb65c2adae8fba4317 (patch) | |
tree | e4383f3e27a9fbe9bec0b5c0eadb509f832df371 /user | |
parent | 2dc954edbb2cc38e2f8494722b5d5a5e9d3959fd (diff) | |
download | packages-2a4c4b0708f851025aa96fcb65c2adae8fba4317.tar.gz packages-2a4c4b0708f851025aa96fcb65c2adae8fba4317.tar.bz2 packages-2a4c4b0708f851025aa96fcb65c2adae8fba4317.tar.xz packages-2a4c4b0708f851025aa96fcb65c2adae8fba4317.zip |
user/libgudev: pull in, bump, take, fix
Diffstat (limited to 'user')
-rw-r--r-- | user/libgudev/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
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 <awilfox@adelielinux.org> +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" |