Skip to content
Commits on Source (3)
......@@ -12,7 +12,7 @@ Homepage: https://github.com/jltsiren/gbwt
Package: libgbwt-dev
Section: libdevel
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: ${misc:Depends}
Description: Substring index for paths in a graph
Graph BWT is an independent implementation of the graph extension (gPBWT) of
the positional Burrows-Wheeler transform (PBWT). Its initial purpose is to
......
......@@ -15,15 +15,21 @@ include /usr/share/dpkg/default.mk
# specified by <https://reproducible-builds.org/specs/source-date-epoch/>
# for hardening you might like to uncomment this:
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) -DNDEBUG
%:
dh $@
override_dh_auto_build:
dh_auto_build -- MY_CXX=g++ INC_DIR=/usr/include LIB_DIR=/usr/lib
dh_auto_build -- CXXFLAGS="$(CXXFLAGS)" MY_CXX=g++ INC_DIR=/usr/include LIB_DIR=/usr/lib
override_dh_auto_install:
dh_auto_install
mkdir -p debian/libgbwt-dev/usr/lib/$(shell dpkg-architecture --query DEB_HOST_MULTIARCH)/
cp libgbwt.a debian/libgbwt-dev/usr/lib/$(shell dpkg-architecture --query DEB_HOST_MULTIARCH)/
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_test -- MY_CXX=g++ INC_DIR=/usr/include LIB_DIR=/usr/lib
dh_auto_test -- CXXFLAGS="$(CXXFLAGS)" MY_CXX=g++ INC_DIR=/usr/include LIB_DIR=/usr/lib
endif
Tests: run-unit-test
Depends: @
Restrictions: allow-stderr
#Tests: run-unit-test
#Depends: @
#Restrictions: allow-stderr