From 7aad5150f69da42b84994c353283db5daf8e967f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Javier=20Jard=C3=B3n?= <jjardon@gnome.org>
Date: Sun, 26 Nov 2017 23:40:38 +0000
Subject: Add BuildStream converted files

This is made by a conversion made in
commit 8f8992a18d55c3abf28d4b6fc8036bd39d3dc1cf of definitions

Check there to know what exact versions of YBD and defs2bst was used
---
 elements/foundation/kmod.bst | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 elements/foundation/kmod.bst

(limited to 'elements/foundation/kmod.bst')

diff --git a/elements/foundation/kmod.bst b/elements/foundation/kmod.bst
new file mode 100644
index 00000000..a495f2d2
--- /dev/null
+++ b/elements/foundation/kmod.bst
@@ -0,0 +1,22 @@
+kind: autotools
+depends:
+- coreutils-common.bst
+sources:
+- kind: git
+  url: upstream:kmod
+  track: v22
+  ref: 42f32b8ae45ad8e3a1da29c9b20af9b5e2e9e676
+config:
+  configure-commands:
+  - |
+    ./bootstrap-configure --prefix="%{prefix}" --sysconfdir=/etc --localstatedir=/var \
+                          --bindir="%{prefix}"/bin  --libdir="%{prefix}"/lib \
+                          --disable-manpages --enable-python
+  install-commands:
+    (>):
+    - ln -s kmod "%{install-root}/%{prefix}"/bin/modprobe
+    - ln -s kmod "%{install-root}/%{prefix}"/bin/lsmod
+    - ln -s kmod "%{install-root}/%{prefix}"/bin/rmmod
+    - ln -s kmod "%{install-root}/%{prefix}"/bin/insmod
+    - ln -s kmod "%{install-root}/%{prefix}"/bin/modinfo
+    - ln -s kmod "%{install-root}/%{prefix}"/bin/depmod
-- 
cgit v1.2.1

