]> Untitled Git - hvlinux.git/commitdiff
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 e9ea0e3e6d1747ff85e37bb4abb74f335192b3cd..74784e846f44602a59c4e32f829fded170cbfa53 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 21dcf856ae0912f77e2ed9cdd9116d0e122a6374..be896c09a6119ff4fe9528ef2456b19391f74f32 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 bcd82c65ae0c234d175700a1462da92b2d3ff0e6..c36b2650a8b7c3d6b5701a5e06568fe5bf7bc14f 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
+}