From f10c0df4974676db2e8118932691abfda36457ab Mon Sep 17 00:00:00 2001 From: hippoz Date: Wed, 14 Jul 2021 16:22:00 +0300 Subject: [PATCH] +libdrm --- libdrm/build | 12 ++++++++++++ libdrm/package | 5 +++++ 2 files changed, 17 insertions(+) create mode 100755 libdrm/build create mode 100755 libdrm/package diff --git a/libdrm/build b/libdrm/build new file mode 100755 index 0000000..3947ea4 --- /dev/null +++ b/libdrm/build @@ -0,0 +1,12 @@ +wget https://dri.freedesktop.org/libdrm/libdrm-2.4.104.tar.xz +tar -xf libdrm-2.4.104.tar.xz +cd libdrm-2.4.104 + +export DESTDIR="$1" + +meson \ + --prefix=/usr \ + . build + +ninja -C build +ninja -C build install \ No newline at end of file diff --git a/libdrm/package b/libdrm/package new file mode 100755 index 0000000..1eed546 --- /dev/null +++ b/libdrm/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="2.4.104" +pkg_config_name="libdrm" +pkg_config_makedepends="" +pkg_config_depends=""