summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/setpwc/files/makefile.diff12
-rw-r--r--packages/setpwc/setpwc_1.1.bb19
2 files changed, 31 insertions, 0 deletions
diff --git a/packages/setpwc/files/makefile.diff b/packages/setpwc/files/makefile.diff
new file mode 100644
index 0000000000..e129db7b56
--- /dev/null
+++ b/packages/setpwc/files/makefile.diff
@@ -0,0 +1,12 @@
+--- setpwc-1.1/Makefile.orig 2006-02-06 03:25:11.000000000 +0100
++++ setpwc-1.1/Makefile 2006-02-06 03:25:27.000000000 +0100
+@@ -22,9 +22,6 @@
+
+ setpwc: $(OBJS)
+ $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o setpwc
+- strip setpwc
+- #
+- # Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html
+
+ install: setpwc
+ cp setpwc /usr/bin
diff --git a/packages/setpwc/setpwc_1.1.bb b/packages/setpwc/setpwc_1.1.bb
new file mode 100644
index 0000000000..120ba463bf
--- /dev/null
+++ b/packages/setpwc/setpwc_1.1.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Set various aspects of Philips (and compatible) WebCams."
+SECTION = "console"
+PRIORITY = "optional"
+MAINTAINER = "NSLU2 Linux <www.nslu2-linux.org>"
+HOMEPAGE = "http://www.vanheusden.com/setpwc/"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://www.vanheusden.com/setpwc/setpwc-${PV}.tgz \
+ file://makefile.diff;patch=1"
+
+inherit autotools
+
+INHIBIT_AUTO_STAGE = "1"
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/setpwc ${D}${bindir}/setpwc
+}