2019-08-05 01:30:49 +10:00
|
|
|
# Description: GObject bindings for libudev
|
|
|
|
# URL: https://wiki.gnome.org/Projects/libgudev
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
# Depends on: glib-32 libgudev
|
|
|
|
|
|
|
|
name=libgudev-32
|
2021-09-04 20:45:14 +10:00
|
|
|
version=237
|
2019-08-05 01:30:49 +10:00
|
|
|
release=1
|
2021-03-17 20:45:49 +11:00
|
|
|
source=(https://download.gnome.org/sources/${name%-*}/$version/${name%-*}-$version.tar.xz)
|
2019-08-05 01:30:49 +10:00
|
|
|
|
|
|
|
build() {
|
2021-03-17 20:45:49 +11:00
|
|
|
meson build ${name%-*}-$version \
|
2019-08-05 01:30:49 +10:00
|
|
|
--prefix=/usr \
|
2021-03-17 20:45:49 +11:00
|
|
|
--libdir=lib32 \
|
|
|
|
--buildtype=plain \
|
|
|
|
-D umockdev=disabled
|
2019-08-05 01:30:49 +10:00
|
|
|
|
2021-03-17 20:45:49 +11:00
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2019-08-05 01:30:49 +10:00
|
|
|
|
|
|
|
rm -r $PKG/usr/include
|
|
|
|
}
|