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
|
2023-10-05 20:52:26 +02:00
|
|
|
version=238
|
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() {
|
2023-10-05 20:52:26 +02:00
|
|
|
meson setup ${name%-*}-$version build \
|
2019-08-05 01:30:49 +10:00
|
|
|
--prefix=/usr \
|
2021-03-17 20:45:49 +11:00
|
|
|
--libdir=lib32 \
|
2023-10-05 20:52:26 +02:00
|
|
|
--buildtype=plain \
|
2023-10-06 19:07:26 +02:00
|
|
|
-D introspection=disabled \
|
|
|
|
-D vapi=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
|
|
|
|
}
|