--- cd-discid-0.3.orig/Makefile
+++ cd-discid-0.3/Makefile
@@ -0,0 +1,41 @@
+VERSION = 0.3
+CC = gcc
+CFLAGS = -g -O2
+LDFLAGS =
+LIBS = 
+DEFS =  
+INSTALL = /usr/bin/install -c
+
+# Installation directories
+prefix = ${DESTDIR}/usr
+exec_prefix = ${prefix}
+mandir = ${prefix}/share/man/man1
+bindir = ${exec_prefix}/bin
+etcdir = ${DESTDIR}/etc
+
+INCL = 
+SRCS = cd-discid.c
+OBJS = $(SRCS:.c=.o)
+
+.SUFFIXES: .c .o
+
+.c.o:
+	$(CC) $(DEFS) $(CFLAGS) -c $<
+
+all: cd-discid
+
+cd-discid: $(OBJS)
+	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+clean:
+	rm -f *~ *.o core cd-discid
+
+install: cd-discid
+	$(INSTALL) -d -m 755 $(bindir)
+	$(INSTALL) -s -m 755 -o 0 cd-discid $(bindir)
+	$(INSTALL) -d -m 755 $(mandir)
+	$(INSTALL) -m 644 -o 0 cd-discid.1 $(mandir)
+
+tarball:
+	@cd .. && tar czvf cd-discid-$(VERSION).tar.gz \
+		cd-discid-$(VERSION)/{COPYING,README,cd-discid.1,cd-discid.c,changelog}
--- cd-discid-0.3.orig/debian/changelog
+++ cd-discid-0.3/debian/changelog
@@ -0,0 +1,21 @@
+cd-discid (0.3-1) unstable; urgency=low
+
+  * Now compiles on Solaris, thanks to David Champion
+
+ -- Robert Woodcock <rcw@debian.org>  Sat, 18 Mar 2000 03:20:13 -0800
+
+cd-discid (0.2-2) unstable; urgency=low
+
+  * FHS compliance.
+
+ -- Robert Woodcock <rcw@debian.org>  Mon, 11 Oct 1999 22:35:25 -0700
+
+cd-discid (0.2-1) unstable; urgency=low
+
+  * Split off from the cdgrab package.
+
+ -- Robert Woodcock <rcw@debian.org>  Fri,  7 May 1999 20:18:36 -0700
+
+Local variables:
+mode: debian-changelog
+End:
--- cd-discid-0.3.orig/debian/copyright
+++ cd-discid-0.3/debian/copyright
@@ -0,0 +1,16 @@
+This package was debianized by Robert Woodcock <rcw@debian.org> on
+Fri,  7 May 1999 20:20:14 -0700
+
+It is made available at: http://frantica.lly.org/~rcw/cd-discid/
+
+Upstream Author: me :)
+
+Copyright:
+
+Copyright (c) 1998,1999 Robert Woodcock <rcw@debian.org>
+This code is hereby licensed for public consumption under either the
+GNU GPL v2 or greater, or Larry Wall's Artistic license - your choice.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
--- cd-discid-0.3.orig/debian/dirs
+++ cd-discid-0.3/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- cd-discid-0.3.orig/debian/docs
+++ cd-discid-0.3/debian/docs
@@ -0,0 +1 @@
+README
--- cd-discid-0.3.orig/debian/control
+++ cd-discid-0.3/debian/control
@@ -0,0 +1,13 @@
+Source: cd-discid
+Section: sound
+Priority: optional
+Maintainer: Robert Woodcock <rcw@debian.org>
+Standards-Version: 2.5.0
+
+Package: cd-discid
+Architecture: any
+Depends: ${shlibs:Depends}
+Conflicts: cdgrab (<< 0.7)
+Description: CDDB DiscID utility
+ cd-discid is a backend utility to get CDDB discid information from a CD-ROM
+ disc.
--- cd-discid-0.3.orig/debian/rules
+++ cd-discid-0.3/debian/rules
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+#-*- makefile -*-
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Christoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	
+	# Add here commands to compile the package.
+	$(MAKE) 
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp install-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	$(MAKE) install DESTDIR=`pwd`/debian/tmp
+
+	touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+#	dh_testversion
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installemacsen
+#	dh_installinit
+	dh_installcron
+	dh_installmanpages
+#	dh_undocumented
+	dh_installchangelogs changelog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	# You may want to make some executables suid here
+	dh_suidregister
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
