From: firework Date: Wed, 10 Nov 2004 15:20:53 +0000 (+0000) Subject: Added files to create a debian package. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=3d5a33bbd3c4954fc7b019c44867adfef325f1ce;hp=70346270bff0a6eab3fc61edb4c5cf06a956dd23;p=gedcom-parse.git Added files to create a debian package. --- diff --git a/debian/README.debian b/debian/README.debian new file mode 100644 index 0000000..309717a --- /dev/null +++ b/debian/README.debian @@ -0,0 +1,5 @@ +The Debian Package gedcom-parse +---------------------------- + +Packaged by: +Geert Vantienen , Mon, 8 Nov 2004 21:49:59 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..fd11fe9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +gedcom-parse (0.90.0) unstable; urgency=low + + * First debian package: + + -- Geert Vantienen Mon, 8 Nov 2004 21:49:59 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..928ca4f --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: gedcom-parse +Section: devel +Priority: optional +Maintainer: Geert Vantienen +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 index 0000000..600f4b5 --- /dev/null +++ b/debian/copyright @@ -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 index 0000000..6554f70 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,3 @@ +usr/lib +usr/include +usr/share/man/man3 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e8f3791 --- /dev/null +++ b/debian/rules @@ -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