summaryrefslogtreecommitdiffstats
path: root/remote/modules/hwinfo
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-15 16:22:46 +0100
committerJonathan Bauer2013-03-15 16:22:46 +0100
commitc009e71f911295079103f52b1bb6b541ac0ac559 (patch)
treea811771a87a8d64f2373318e5920e804f74c4080 /remote/modules/hwinfo
parenttargets and builds (diff)
downloadtm-scripts-c009e71f911295079103f52b1bb6b541ac0ac559.tar.gz
tm-scripts-c009e71f911295079103f52b1bb6b541ac0ac559.tar.xz
tm-scripts-c009e71f911295079103f52b1bb6b541ac0ac559.zip
yet another new structure
Diffstat (limited to 'remote/modules/hwinfo')
-rw-r--r--remote/modules/hwinfo/hwinfo.build26
-rw-r--r--remote/modules/hwinfo/hwinfo.conf1
2 files changed, 27 insertions, 0 deletions
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"