Complete debian packaging support
authorCΓ©dric Villemain <cedric@2ndQuadrant.fr>
Sat, 4 Dec 2010 15:19:32 +0000 (16:19 +0100)
committerCΓ©dric Villemain <cedric@2ndQuadrant.fr>
Sat, 4 Dec 2010 15:29:05 +0000 (16:29 +0100)
 * package is not signed
 * allow build for PostgreSQL 8.4 and 9.0

The easiest way to build pgfincore now is :

PostgreSQL 8.4
make PG_CONFIG=/usr/lib/postgresql/8.4/bin/pg_config deb

PostgreSQL 9.0
make PG_CONFIG=/usr/lib/postgresql/9.0/bin/pg_config deb

Allow to build debian package with 9.0

Makefile
debian/control.in
debian/pgversions

index 106cef4ba0987d411f80536048d74f283ee74f8e..4020bb44d406f3425d8a9aeef9949df01b4d9616 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ deb:
        cp $(ORIG) $(ARCHIVE)
 
        # build the debian package and copy them to ..
-       (cd $(EXPORT) && make -f debian/rules debian/control && debuild)
+       (cd $(EXPORT) && make -f debian/rules debian/control && debuild -us -uc)
 
        cp $(EXPORT)/debian/control debian
        find $(DEBDIR)/export -maxdepth 1 -type f -name "*$(PGGVERS)*" -exec cp {} .. \;
index 93aba409dd0a814074a7e92624ae12ab350ba846..513cf8c88bcef040ada8929035aaf78f316e9d02 100644 (file)
@@ -2,7 +2,7 @@ Source: pgfincore
 Section: database
 Priority: extra
 Maintainer: Dimitri Fontaine <dim@tapoueh.org>
-Build-Depends: debhelper (>= 7), postgresql-server-dev-all, postgresql-server-dev-8.4
+Build-Depends: debhelper (>= 7), postgresql-server-dev-all, postgresql-server-dev-8.4|postgresql-server-dev-9.0
 Standards-Version: 3.9.1
 Homepage: http://villemain.org/projects/pgfincore
 
index c9dc0490835bb521a540196361c1c2b86c596df9..6ff8e01e47fee4e72af1a73f228287ffb9c4557b 100644 (file)
@@ -1 +1,2 @@
 8.4
+9.0