Add i2c-tools
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 22 Feb 2014 03:16:35 +0000 (22:16 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 22 Feb 2014 03:16:35 +0000 (22:16 -0500)
config/packages-list
stage5/hv-install-1
stage5/packages-update
stage5/pkg/i2c-tools [new file with mode: 0644]

index e9ea0e3..74784e8 100644 (file)
@@ -173,6 +173,7 @@ HTTPD="httpd-2.4.3"
 HVCLOCK="hvclock-1.0.2"
 HV_UTILITIES="hv-utilities-0.1.0"
 
+I2C_TOOLS="i2c-tools-3.1.1"
 IANA="iana-etc-2.30"
 ICON_NAMING_UTILS="icon-naming-utils-0.8.90"
 ICU="icu4c-49_1_2-src"
index 21dcf85..be896c0 100755 (executable)
@@ -270,6 +270,8 @@ ipkg -m noac ${STELLARIUM}
 ipkg ${GTKGLEXT}
 ipkg -m acnb ${CELESTIA} "--with-gtk"
 
+ipkg -m noac ${I2C_TOOLS}
+
 rscr mult  "Performing post-install" post-install
 
 write_completed_stage
index bcd82c6..c36b265 100755 (executable)
@@ -223,4 +223,6 @@ fpkg -e "tar.gz" -m hv ${STELLARIUM}
 fpkg -m sf ${GTKGLEXT}
 fpkg -e "tar.gz" -m hv ${CELESTIA}
 
+fpkg ${I2C_TOOLS} "http://dl.lm-sensors.org/i2c-tools/releases"
+
 exit $?
diff --git a/stage5/pkg/i2c-tools b/stage5/pkg/i2c-tools
new file mode 100644 (file)
index 0000000..7926741
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+hvbuild()
+{
+    cd ${LFS_TMP}/${PACKAGE}
+
+    ${HVMAKE}
+    ${HVMAKE} prefix=/usr install
+}