From 3211a5b7d8ddb4c7871f844036c366108ee57ef3 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 6 Dec 2008 18:10:17 -0600
Subject: adding i2c-tools and read-edid

---
 abs/core-testing/read-edid-2.0.0.tar.gz    | Bin 0 -> 82282 bytes
 abs/extra-testing/i2c-tools/Makefile.patch |  19 +++++++++++++++++++
 abs/extra-testing/i2c-tools/PKGBUILD       |  21 +++++++++++++++++++++
 abs/extra-testing/read-edid/PKGBUILD       |  20 ++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 abs/core-testing/read-edid-2.0.0.tar.gz
 create mode 100644 abs/extra-testing/i2c-tools/Makefile.patch
 create mode 100644 abs/extra-testing/i2c-tools/PKGBUILD
 create mode 100644 abs/extra-testing/read-edid/PKGBUILD

diff --git a/abs/core-testing/read-edid-2.0.0.tar.gz b/abs/core-testing/read-edid-2.0.0.tar.gz
new file mode 100644
index 0000000..9160c9d
Binary files /dev/null and b/abs/core-testing/read-edid-2.0.0.tar.gz differ
diff --git a/abs/extra-testing/i2c-tools/Makefile.patch b/abs/extra-testing/i2c-tools/Makefile.patch
new file mode 100644
index 0000000..f90fa14
--- /dev/null
+++ b/abs/extra-testing/i2c-tools/Makefile.patch
@@ -0,0 +1,19 @@
+--- Makefile.orig	2007-11-01 18:54:57.000000000 +0100
++++ Makefile	2008-09-24 14:46:54.000000000 +0200
+@@ -5,7 +5,7 @@
+ # Licensed under the GNU General Public License.
+ 
+ DESTDIR	=
+-prefix	= /usr/local
++prefix	= /usr
+ bindir	= $(prefix)/bin
+ sbindir	= $(prefix)/sbin
+ mandir	= $(prefix)/share/man
+@@ -32,6 +32,6 @@
+ all:
+ 
+ include eeprom/Module.mk
+-include include/Module.mk
++#include include/Module.mk
+ include stub/Module.mk
+ include tools/Module.mk
diff --git a/abs/extra-testing/i2c-tools/PKGBUILD b/abs/extra-testing/i2c-tools/PKGBUILD
new file mode 100644
index 0000000..db1700d
--- /dev/null
+++ b/abs/extra-testing/i2c-tools/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: DonVla <donvla@users.sourceforge.net>
+
+pkgname=i2c-tools
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
+arch=('i686' 'x86_64')
+url="http://www.lm-sensors.org/wiki/I2CTools"
+license=('GPL')
+depends=('lm_sensors' 'perl' 'read-edid')
+options=(strip)
+source=(http://dl.lm-sensors.org/$pkgname/releases/$pkgname-$pkgver.tar.bz2 Makefile.patch)
+md5sums=('b546345ac19db56719dea6b8199f11e0' '49d17834f9d7e68407ec46785e47bb94')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p0 < $startdir/Makefile.patch
+  make || return 1
+  make DESTDIR="$pkgdir" install
+}
+# vim:set ts=2 sw=2 et:
diff --git a/abs/extra-testing/read-edid/PKGBUILD b/abs/extra-testing/read-edid/PKGBUILD
new file mode 100644
index 0000000..6e6b0b3
--- /dev/null
+++ b/abs/extra-testing/read-edid/PKGBUILD
@@ -0,0 +1,20 @@
+# Contributor: Mateusz Herych <heniekk@gmail.com>
+
+pkgname=read-edid
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="Program that can get information from a pnp monitor"
+arch=('i686' 'x86_64')
+url="http://www.polypux.org/projects/read-edid/"
+license=('GPL')
+depends=('libx86')
+source=(http://www.polypux.org/projects/read-edid/read-edid-$pkgver.tar.gz)
+md5sums=('586e7fa1167773b27f4e505edc93274b')
+
+build() {
+	cd $startdir/src/$pkgname-$pkgver
+	./configure --prefix=/usr
+	make || return 1
+	make DESTDIR=$startdir/pkg install || return 1
+
+}
-- 
cgit v0.12

