62 lines
2.1 KiB
YAML
62 lines
2.1 KiB
YAML
name: libudev-meta
|
|
modules:
|
|
- name: libudev-platform
|
|
sources:
|
|
- type: archive
|
|
url: https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-175.tar.bz2
|
|
sha256: 4c7937fe5a1521316ea571188745b9a00a9fdf314228cffc53a7ba9e5968b7ab
|
|
builddir: true
|
|
config-opts:
|
|
- --disable-gudev
|
|
- --disable-hwdb
|
|
- --disable-introspection
|
|
- --disable-keymap
|
|
- --disable-logging
|
|
- --disable-mtd_probe
|
|
- CFLAGS=-include sys/sysmacros.h
|
|
build-options:
|
|
make-install-args:
|
|
- DESTDIR=/usr/tmp_udev
|
|
- install
|
|
post-install:
|
|
- rm -rfv /usr/tmp_udev/usr/share
|
|
- mv /usr/tmp_udev/usr/sbin /usr/tmp_udev/usr/bin
|
|
- cp -ravP --remove-destination /usr/tmp_udev/usr /
|
|
- rm -rfv /usr/tmp_udev
|
|
cleanup-platform:
|
|
- "*.la"
|
|
- "*.a"
|
|
- "/include"
|
|
- name: libudev-32bit
|
|
sources:
|
|
- type: archive
|
|
url: https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-175.tar.bz2
|
|
sha256: 4c7937fe5a1521316ea571188745b9a00a9fdf314228cffc53a7ba9e5968b7ab
|
|
builddir: true
|
|
config-opts:
|
|
- --build=i686-unknown-linux
|
|
- --libdir=/usr/lib32
|
|
- --disable-gudev
|
|
- --disable-hwdb
|
|
- --disable-introspection
|
|
- --disable-keymap
|
|
- --disable-logging
|
|
- --disable-mtd_probe
|
|
- CFLAGS=-include sys/sysmacros.h -m32
|
|
- CXXFLAGS=-m32
|
|
- LDFLAGS=-m32
|
|
build-options:
|
|
make-install-args:
|
|
- DESTDIR=/usr/tmp_udev
|
|
- install
|
|
post-install:
|
|
- rm -rfv /usr/tmp_udev/usr/share /usr/tmp_udev/usr/sbin /usr/tmp_udev/usr/libexec
|
|
- cp -ravP --remove-destination /usr/tmp_udev/usr /
|
|
- rm -rfv /usr/tmp_udev
|
|
cleanup-platform:
|
|
- "*.la"
|
|
- "*.a"
|
|
- "/include"
|
|
only-arches:
|
|
- x86_64
|