diff options
| author | Jonathan Bauer | 2013-03-15 16:22:46 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-15 16:22:46 +0100 |
| commit | c009e71f911295079103f52b1bb6b541ac0ac559 (patch) | |
| tree | a811771a87a8d64f2373318e5920e804f74c4080 /remote/modules/hwinfo | |
| parent | targets and builds (diff) | |
| download | tm-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.build | 26 | ||||
| -rw-r--r-- | remote/modules/hwinfo/hwinfo.conf | 1 |
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" |
