diff options
author | drochner <drochner@pkgsrc.org> | 2001-03-28 16:52:42 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2001-03-28 16:52:42 +0000 |
commit | 1b9983967eafdefc59e3dafd5e0a26fcdf519056 (patch) | |
tree | 9a76fd96a176072f622d5d589b7aa5411ea15856 | |
parent | 7267f98c1172b7f1b6e94e18354945b6ec647681 (diff) | |
download | pkgsrc-1b9983967eafdefc59e3dafd5e0a26fcdf519056.tar.gz |
Communication with Canon Powershot digital cameras. Tested with USB only.
-rw-r--r-- | graphics/s10sh/Makefile | 19 | ||||
-rw-r--r-- | graphics/s10sh/files/md5 | 3 | ||||
-rw-r--r-- | graphics/s10sh/files/patch-sum | 4 | ||||
-rw-r--r-- | graphics/s10sh/patches/patch-aa | 56 | ||||
-rw-r--r-- | graphics/s10sh/patches/patch-ab | 20 | ||||
-rw-r--r-- | graphics/s10sh/pkg/DESCR | 3 | ||||
-rw-r--r-- | graphics/s10sh/pkg/PLIST | 2 |
7 files changed, 107 insertions, 0 deletions
diff --git a/graphics/s10sh/Makefile b/graphics/s10sh/Makefile new file mode 100644 index 00000000000..c50e455c558 --- /dev/null +++ b/graphics/s10sh/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/28 16:52:42 drochner Exp $ +# + +DISTNAME= s10sh-0.2.0 +CATEGORIES= graphics +MASTER_SITES= http://www.kyuzz.org/antirez/s10sh-src/ + +MAINTAINER= drochner@netbsd.org +HOMEPAGE= http://www.kyuzz.org/antirez/s10sh +COMMENT= USB/serial userspace driver for Canon PowerShot cameras + +DEPENDS+= libusb-*:../../devel/libusb + +HAS_CONFIGURE= yes + +do-install: + ${INSTALL} ${WRKSRC}/s10sh ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/s10sh/files/md5 b/graphics/s10sh/files/md5 new file mode 100644 index 00000000000..226887a4cdc --- /dev/null +++ b/graphics/s10sh/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/28 16:52:42 drochner Exp $ + +SHA1 (s10sh-0.2.0.tar.gz) = a8ada7c84ff64be98a1195612d48e2042f293eba diff --git a/graphics/s10sh/files/patch-sum b/graphics/s10sh/files/patch-sum new file mode 100644 index 00000000000..b17a0df8718 --- /dev/null +++ b/graphics/s10sh/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/03/28 16:52:42 drochner Exp $ + +SHA1 (patch-aa) = 1708337ee44567e66e227903e0ae15101670ed31 +SHA1 (patch-ab) = 83e20d2bbda9de83a3db5a5990f6cc7f1fb1a18c diff --git a/graphics/s10sh/patches/patch-aa b/graphics/s10sh/patches/patch-aa new file mode 100644 index 00000000000..e5300c82a0b --- /dev/null +++ b/graphics/s10sh/patches/patch-aa @@ -0,0 +1,56 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/28 16:52:42 drochner Exp $ + +--- configure.orig Wed Mar 28 17:53:14 2001 ++++ configure Wed Mar 28 18:03:03 2001 +@@ -4,35 +4,7 @@ + echo + + READLINE_DEFAULT="n" +-USB_DEFAULT="n" +- +-if test -f /usr/include/readline/readline.h; then +- READLINE_DEFAULT="y" +-fi +- +-if test -f /usr/local/include/readline/readline.h; then +- READLINE_DEFAULT="y" +-fi +- +-echo Do you want readline support? \(y/n default $READLINE_DEFAULT\) +-read TMP +-if [ "$TMP" != "" ]; then +- READLINE_DEFAULT=$TMP +-fi +- +-echo Do you want USB support? \(y/n default $USB_DEFAULT\) +-read TMP +-if [ "$TMP" != "" ]; then +- USB_DEFAULT=$TMP +-fi +- +-if [ "$READLINE_DEFAULT" != "y" ]; then +- READLINE_DEFAULT="n" +-fi +- +-if [ "$USB_DEFAULT" != "y" ]; then +- USB_DEFAULT="n" +-fi ++USB_DEFAULT="y" + + echo + echo READLINE support: $READLINE_DEFAULT +@@ -52,12 +24,8 @@ + HAVE_USB_SUPPORT="-DHAVE_USB_SUPPORT" + + version="" +- if test -f /usr/bin/libusb-config; then +- lusbconf="/usr/bin/libusb-config" +- version=`$lusbconf --version 2> /dev/null` +- fi +- if test -f /usr/local/bin/libusb-config; then +- lusbconf="/usr/local/bin/libusb-config" ++ if test -f ${LOCALBASE}/bin/libusb-config; then ++ lusbconf="${LOCALBASE}/bin/libusb-config" + version=`$lusbconf --version 2> /dev/null` + fi + diff --git a/graphics/s10sh/patches/patch-ab b/graphics/s10sh/patches/patch-ab new file mode 100644 index 00000000000..1f08797ca33 --- /dev/null +++ b/graphics/s10sh/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/03/28 16:52:42 drochner Exp $ + +--- Makefile.in.orig Tue Mar 13 14:46:18 2001 ++++ Makefile.in Wed Mar 28 18:12:35 2001 +@@ -4,12 +4,13 @@ + LIBS=@LIBREADLINE@ @LIBTERMCAP@ + CC=gcc + CCOPT=-O2 -Wall -g @LIBUSBHEADER@ +-OBJECTS=main.o crc.o usb.o serial.o common.o bar.o @LIBUSB@ ++OBJECTS=main.o crc.o usb.o serial.o common.o bar.o ++LOBJECTS= $(OBJECTS) @LIBUSB@ + + all: s10sh + + s10sh: $(OBJECTS) +- $(CC) $(CCOPT) -o s10sh $(OBJECTS) $(LIBS) ++ $(CC) $(CCOPT) -o s10sh $(LOBJECTS) $(LIBS) + + .c.o: + $(CC) $(CCOPT) -c $< $(OPTIONS) diff --git a/graphics/s10sh/pkg/DESCR b/graphics/s10sh/pkg/DESCR new file mode 100644 index 00000000000..cf4f96a8b62 --- /dev/null +++ b/graphics/s10sh/pkg/DESCR @@ -0,0 +1,3 @@ +s10sh is a USB/serial userspace driver for the Canon PowerShot digital cameras. +Using s10sh you can download, upload and explore the images caputered with your +PowerShot camera. The interface is quite similar to DOS's command.com. diff --git a/graphics/s10sh/pkg/PLIST b/graphics/s10sh/pkg/PLIST new file mode 100644 index 00000000000..4ea32da6e08 --- /dev/null +++ b/graphics/s10sh/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/28 16:52:42 drochner Exp $ +bin/s10sh |