summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules')
-rw-r--r--remote/modules/debug/debug.build19
-rw-r--r--remote/modules/debug/debug.conf2
-rw-r--r--remote/modules/hwinfo/hwinfo.build26
-rw-r--r--remote/modules/hwinfo/hwinfo.conf1
4 files changed, 48 insertions, 0 deletions
diff --git a/remote/modules/debug/debug.build b/remote/modules/debug/debug.build
new file mode 100644
index 00000000..e791d347
--- /dev/null
+++ b/remote/modules/debug/debug.build
@@ -0,0 +1,19 @@
+fetch_source() {
+ :
+}
+
+build() {
+
+ for BIN in $REQUIRED_BINARIES; do
+ BIN_LOCATION=$(which ${BIN})
+ if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ]; then
+ tarcopy "$(get_link_chain ${BIN_LOCATION})" "${MODULE_BUILD_DIR}"
+ else
+ pwarning "'${BIN}' not found on the system."
+ fi
+ done
+}
+
+post_copy() {
+ :
+}
diff --git a/remote/modules/debug/debug.conf b/remote/modules/debug/debug.conf
new file mode 100644
index 00000000..3eb13363
--- /dev/null
+++ b/remote/modules/debug/debug.conf
@@ -0,0 +1,2 @@
+REQUIRED_BINARIES=" strace
+ ldd"
diff --git a/remote/modules/hwinfo/hwinfo.build b/remote/modules/hwinfo/hwinfo.build
new file mode 100644
index 00000000..383b8c2a
--- /dev/null
+++ b/remote/modules/hwinfo/hwinfo.build
@@ -0,0 +1,26 @@
+fetch_source() {
+ [ ! -d "${MODULE_DIR}/src" ] && mkdir -p "${MODULE_DIR}/src"
+ cd "${MODULE_DIR}/src"
+ git clone git://gitorious.org/opensuse/hwinfo.git
+ git clone git://gitorious.org/x86emu/libx86emu.git
+ cd - &> /dev/null
+}
+
+build() {
+ pdebug "Installing libx86emu in ${MODULE_DIR}/build..."
+ cd "${MODULE_DIR}/src/libx86emu"
+ make || perror "libx86emu: make failed."
+ DESTDIR="${MODULE_DIR}"/build make install || perror "libx86emu: make install failed."
+ cd - &> /dev/null
+
+ pdebug "Installing hwinfo in ${MODULE_DIR}/build..."
+ cd "${MODULE_DIR}/src/hwinfo"
+ make || perror "hwinfo: make failed."
+ DESTDIR="${MODULE_DIR}/build" make install || perror "hwinfo: make install failed."
+ cd - &> /dev/null
+
+}
+
+post_copy() {
+ :
+}
diff --git a/remote/modules/hwinfo/hwinfo.conf b/remote/modules/hwinfo/hwinfo.conf
new file mode 100644
index 00000000..af5783a2
--- /dev/null
+++ b/remote/modules/hwinfo/hwinfo.conf
@@ -0,0 +1 @@
+REQUIRED_BINARIES=" hwinfo"