Another and hopefully, last, YAZ OID DB update
[yazproxy-moved-to-github.git] / debian / rules
index ae93617..5010daf 100755 (executable)
@@ -6,6 +6,8 @@
 # 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)
@@ -36,7 +38,7 @@ major=2
 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 --infodir=\$${prefix}/share/info --enable-shared --with-xslt=/usr
+       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-shared --with-xslt=/usr --with-yazpp=/usr/bin --without-usemarcon
 
 
 build: build-stamp
@@ -84,14 +86,11 @@ binary-arch: build install
        dh_testdir
        dh_testroot
        cp LICENSE debian/copyright
-       cp LICENSE.proxy debian/libyazproxy.copyright
-       cp LICENSE.proxy debian/libyazproxy-dev.copyright
-       cp LICENSE.proxy debian/yazproxy.copyright
        dh_installdocs -A README
        dh_installchangelogs NEWS
        dh_installdocs
        dh_installexamples
-       mv debian/tmp/usr/share/doc/yaz++ debian/tmp/usr/share/doc/yaz++-doc
+       mv debian/tmp/usr/share/doc/yazproxy debian/tmp/usr/share/doc/yazproxy-doc
        dh_install
 #      dh_installmenu
 #      dh_installdebconf       
@@ -109,9 +108,9 @@ binary-arch: build install
        dh_fixperms
 #      dh_perl
 #      dh_python
-       dh_makeshlibs -V 'libyazproxy (>= 0.8)'
+       dh_makeshlibs -V 'libyazproxy2 (>= 1.3.0)'
        dh_installdeb
-       dh_shlibdeps -l debian/libyazproxy/usr/lib
+       dh_shlibdeps -l debian/libyazproxy2/usr/lib
        dh_gencontrol
        dh_md5sums
        dh_builddeb