From 3d1235af060955e271be68240c0ca46bc6d81b03 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 25 Mar 2014 15:24:04 +0100 Subject: [modules] new module naming convention rename $MODULE.{conf,build} to module.{conf,build} --- remote/modules/idleaction/module.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 remote/modules/idleaction/module.build (limited to 'remote/modules/idleaction/module.build') diff --git a/remote/modules/idleaction/module.build b/remote/modules/idleaction/module.build new file mode 100644 index 00000000..1b740aa1 --- /dev/null +++ b/remote/modules/idleaction/module.build @@ -0,0 +1,16 @@ +fetch_source() { + : +} + +build() { + # We ship xprintidle's source as suse doesn't have it in one of the default repos + # and its just too tiny to do anything fancy like fetching source from somewhere + mkdir -p "$MODULE_BUILD_DIR/opt/openslx/bin" + gcc -o "$MODULE_BUILD_DIR/opt/openslx/bin/xprintidle" "$MODULE_DIR/xprintidle.c" -lX11 -lXss -lXext \ + || perror "Compilation of xprintidle failed!" +} + +post_copy() { + : +} + -- cgit v1.2.3-55-g7522