Added files to create a debian package.
authorfirework <firework>
Wed, 10 Nov 2004 15:20:53 +0000 (15:20 +0000)
committerfirework <firework>
Wed, 10 Nov 2004 15:20:53 +0000 (15:20 +0000)
debian/README.debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/dirs [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/README.debian b/debian/README.debian
new file mode 100644 (file)
index 0000000..309717a
--- /dev/null
@@ -0,0 +1,5 @@
+The Debian Package gedcom-parse
+----------------------------
+
+Packaged by:
+Geert Vantienen <Geert.Vantienen@advalvas.be>, Mon,  8 Nov 2004 21:49:59 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..fd11fe9
--- /dev/null
@@ -0,0 +1,5 @@
+gedcom-parse (0.90.0) unstable; urgency=low
+
+  * First debian package:
+
+ -- Geert Vantienen <Geert.Vantienen@advalvas.be>  Mon,  8 Nov 2004 21:49:59 +0100
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..928ca4f
--- /dev/null
@@ -0,0 +1,16 @@
+Source: gedcom-parse
+Section: devel
+Priority: optional
+Maintainer: Geert Vantienen <Geert.Vantienen@advalvas.be>
+Standards-Version: 3.5.8
+Build-Depends: debmake
+
+Package: gedcom-parse-dev
+Architecture: any
+Depends: libc6-dev
+Description: The GEDCOM parser library
+ Missing
+ The GEDCOM parser library is a C library that provides an API to 
+ applications to parse, process and write arbitrary genealogy files in 
+ the standard GEDCOM format.
+ Homepage: http://gedcom-parse.sourceforge.net/
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..600f4b5
--- /dev/null
@@ -0,0 +1,4 @@
+This package was created by Geert Vantienen Geert.Vantienen@advalvas.be on Mon,  8 Nov 2004 21:49:59 +0100.
+
+Copyright: LGPL (see /usr/share/common-licenses/LGPL)
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644 (file)
index 0000000..6554f70
--- /dev/null
@@ -0,0 +1,3 @@
+usr/lib
+usr/include
+usr/share/man/man3
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..e8f3791
--- /dev/null
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+# Made with the aid of debmake, by Christoph Lameter,
+# based on the sample debian/rules file for GNU hello by Ian Jackson.
+
+package=gedcom-parse-dev
+
+build:
+       $(checkdir)
+       ./configure --prefix=/usr
+       $(MAKE) CFLAGS="-O2 -g -Wall"
+       touch build
+
+clean:
+       $(checkdir)
+       rm -f build
+       -$(MAKE) distclean
+       rm -f `find . -name "*~"`
+       rm -rf debian/tmp debian/files* core debian/substvars
+
+binary-indep: checkroot build
+       $(checkdir)
+# There are no architecture-independent files to be uploaded
+# generated by this package.  If there were any they would be
+# made here.
+
+binary-arch: checkroot build
+       $(checkdir)
+       rm -rf debian/tmp
+       install -d debian/tmp
+       cd debian/tmp && install -d `cat ../dirs`
+       $(MAKE) install prefix=`pwd`/debian/tmp/usr
+# Must have debmake installed for this to work. Otherwise please copy
+# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
+       debstd ChangeLog NEWS README TODO 
+       dpkg-gencontrol -isp
+       chown -R root:root debian/tmp
+       chmod -R go=rX debian/tmp
+       dpkg --build debian/tmp ..
+
+define checkdir
+       test -f debian/rules
+endef
+
+binary: binary-indep binary-arch
+
+checkroot:
+       $(checkdir)
+       test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot