diff options
Diffstat (limited to 'repo/system')
-rw-r--r-- | repo/system/libgudev.xibuild | 21 | ||||
-rw-r--r-- | repo/system/mtdev.xibuild | 20 |
2 files changed, 41 insertions, 0 deletions
diff --git a/repo/system/libgudev.xibuild b/repo/system/libgudev.xibuild new file mode 100644 index 0000000..7ed1eab --- /dev/null +++ b/repo/system/libgudev.xibuild @@ -0,0 +1,21 @@ +#!/bin/bash + +MAKEDEPS=(meson) +DEPS=(glib2 libudev) + +PKG_VER=237 +SOURCE=https://download.gnome.org/sources/libgudev/$PKG_VER/libgudev-$PKG_VER.tar.xz +DESC="GObject bindings for libudev" + +build () { + mkdir build && + cd build && + + meson --prefix=/usr --buildtype=release .. && + ninja + +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/system/mtdev.xibuild b/repo/system/mtdev.xibuild new file mode 100644 index 0000000..4cb3646 --- /dev/null +++ b/repo/system/mtdev.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make ) +DEPS=(glibc) + +PKG_VER=1.1.6 +SOURCE=https://bitmath.org/code/mtdev/mtdev-$PKG_VER.tar.bz2 + +DESC="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol" + +build () { + ./configure --prefix=/usr --disable-static && + make + +} + +package () { + make DESTDIR=$PKG_DEST install +} + |