Not needed: DH_COMPAT=5
[metaproxy-moved-to-github.git] / debian / rules
index 66682a3..64ddde7 100755 (executable)
@@ -6,9 +6,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# Force compat level four
-export DH_COMPAT=4
-
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -30,7 +27,7 @@ endif
 config.status: configure
        dh_testdir
        # Add here commands to configure the package.
-       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --with-yazpp=/usr/bin
+       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --with-yazpp=/usr/bin --without-usemarcon
 
 #--infodir=\$${prefix}/share/info --enable-shared --enable-static --with-xslt
 
@@ -84,6 +81,7 @@ binary-arch: build install
        mv debian/tmp/usr/share/doc/metaproxy debian/tmp/usr/share/doc/metaproxy-doc
        mkdir -p debian/tmp/etc/metaproxy
        cp debian/metaproxy.xml debian/tmp/etc/metaproxy/metaproxy.xml
+       cp rpm/metaproxy.user debian/tmp/etc/metaproxy/metaproxy.user
        dh_install 
 #      dh_installmenu
 #      dh_installdebconf       
@@ -101,7 +99,7 @@ binary-arch: build install
        dh_fixperms
 #      dh_perl
 #      dh_python
-       dh_makeshlibs -V 'libmetaproxy4 (>= 1.2.9)'
+       dh_makeshlibs -V 'libmetaproxy4 (>= 1.3.28)'
        dh_installdeb
        dh_shlibdeps  -l debian/libmetaproxy4/usr/lib
        dh_gencontrol