summaryrefslogtreecommitdiff
path: root/pkg/hotplugd
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-23 12:23:16 -0700
committerMichael Forney <mforney@mforney.org>2020-06-23 12:24:16 -0700
commitc6f680a6aff351e85375cdf9a98592d13e8802b5 (patch)
tree55c6f43582a62fa2487227612dfc9cfb9dfb372f /pkg/hotplugd
parentadfc19c759066dfb2649f2fe5882541c22e6093d (diff)
Rename devd to hotplugd
Diffstat (limited to 'pkg/hotplugd')
-rw-r--r--pkg/hotplugd/gen.lua12
m---------pkg/hotplugd/src0
-rw-r--r--pkg/hotplugd/ver1
3 files changed, 13 insertions, 0 deletions
diff --git a/pkg/hotplugd/gen.lua b/pkg/hotplugd/gen.lua
new file mode 100644
index 00000000..14cd33cd
--- /dev/null
+++ b/pkg/hotplugd/gen.lua
@@ -0,0 +1,12 @@
+cflags{
+ '-std=c11', '-Wall', '-Wextra', '-Wpedantic',
+ ([[-D 'PREFIX="%s"']]):format(config.prefix),
+ '-isystem $builddir/pkg/linux-headers/include',
+}
+
+pkg.deps = {'pkg/linux-headers/headers'}
+
+file('bin/hotplugd', '755', exe('hotplugd', {'hotplugd.c'}))
+file('libexec/hotplugd-trigger', '755', exe('hotplugd-trigger', {'hotplugd-trigger.c'}))
+
+fetch 'git'
diff --git a/pkg/hotplugd/src b/pkg/hotplugd/src
new file mode 160000
+Subproject ef763a029fb8a1f31151159668e54fa17c690e6
diff --git a/pkg/hotplugd/ver b/pkg/hotplugd/ver
new file mode 100644
index 00000000..9586c265
--- /dev/null
+++ b/pkg/hotplugd/ver
@@ -0,0 +1 @@
+ef763a029f r0