Package-Name: gscanbus
Requires: gtk1 libraw1394
Homepage: http://gscanbus.berlios.de/
# FIXME: gone?
#Source: http://developer.berlios.de/project/showfiles.php?group_id=157/(gscanbus-\d+\.\d+(\.\d+|\w*))/[\0-\377]*gscanbus-(\d+(.\d+)+\w*) $1 http://download.berlios.de/gscanbus/gscanbus-$1.tgz
Zap-Before-Install: 1
Repack:
	tar xzvfp "$(SOURCE)"
Compile:
	$(MAKE) -f ../Makefile configure
	$(MAKE)
	$(MAKE) install
Install:
	$(MAKE) instbin BIN=gscanbus
Patch: <<EOT
--- gscanbus.c.old	2001-07-11 19:53:51 +0900
+++ gscanbus.c	2003-11-18 20:59:22 +0900
@@ -110,12 +110,12 @@
 static GdkPixmap *pixmap = NULL;
 
 const char not_compatible[] = "\
-This libraw1394 does not work with your version of Linux. You need a different
-version that matches your kernel (see kernel help text for the raw1394 option to
+This libraw1394 does not work with your version of Linux. You need a different\n\
+version that matches your kernel (see kernel help text for the raw1394 option to\n\
 find out which is the correct version).\n";
 
 const char not_loaded[] = "\
-This probably means that you don't have raw1394 support in the kernel or that
+This probably means that you don't have raw1394 support in the kernel or that\n\
 you haven't loaded the raw1394 module.\n";
 
 /*---------------------------------------------------------------------------
EOT

/etc/guid-resolv.conf
/etc/oui-resolv.conf
/pkg/gscanbus/
/usr/bin/gscanbus
