Andreas Tille pushed to branch master at Debian Med / sra-sdk


Commits:
dda7767e by Andreas Tille at 2022-07-28T07:10:13+02:00
Make sure ncbi-vdb binary libraries will be found

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -18,31 +18,8 @@ include /usr/share/dpkg/buildflags.mk
 OUTDIR=$(CURDIR)/debian/tmp
 MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-#override_dh_auto_clean:
-#      -dh_auto_clean
-#
-#override_dh_clean:
-#      dh_clean
-#      rm -f reconfigure build/ld.linux.exe_cmd.sh build/Makefile.config 
build/Makefile.config.linux.x86_64
-#      rm -rf test/*/actual test/*/tmp.kfg tools/kqsh/kqsh-sra.[ch]
-#
-#override_dh_update_autotools_config:
-#      echo "do nothing"
-#
-#override_dh_auto_configure:
-#      # output dir will be checked so create it before
-#      mkdir -p debian/tmp/usr/lib
-#      ln -s /usr/lib/$(MULTIARCH) debian/tmp/usr/lib
-#      #
-#        # that's no standard configure script lacking support of default 
options
-#      #
-#      # --with-debug sets some options that require header files like 
compiler.h which
-#      # is internal to ncbi-vcb and not installed into the package - so this 
option
-#      # should not be used.
-#      ./configure --build=$(MULTIARCH) --prefix=$(CURDIR)/debian/tmp/usr 
--build-prefix=$(CURDIR)/debian/tmp/usr --with-ngs-sdk-prefix=/usr
-#
-#override_dh_auto_build:
-#      export LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:$(OUTDIR)/lib"; export 
OUTDIR=$(OUTDIR) ; make DEB_CFLAGS="$(CFLAGS)" DEB_CXXFLAGS="$(CXXFLAGS)" 
DEB_LDFLAGS="$(LDFLAGS)"
+override_dh_auto_configure:
+       dh_auto_configure -- -DVDB_LIBDIR=/usr/lib/${DEB_HOST_MULTIARCH}
 
 override_dh_auto_install:
        dh_auto_install -- KONFIG_DIR=$(CURDIR)/debian/sra-toolkit/etc/ncbi



View it on GitLab: 
https://salsa.debian.org/med-team/sra-sdk/-/commit/dda7767ef0dbc97f23cf6676798732b36b1b0164

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/sra-sdk/-/commit/dda7767ef0dbc97f23cf6676798732b36b1b0164
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to