Debian: install static lib #330

This commit is contained in:
nick black 2020-02-08 20:49:33 -05:00
parent 3aa969f2a7
commit e883ed805a
3 changed files with 3 additions and 8 deletions

View File

@ -1,5 +1,6 @@
usr/include/notcurses.h
usr/lib/*/cmake/*
usr/lib/*/libnotcurses.a
usr/lib/*/libnotcurses.so
usr/lib/*/pkgconfig/notcurses.pc
usr/share/man/man3/*

1
debian/python3-notcurses.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/python3/dist-packages/*

9
debian/rules vendored
View File

@ -2,7 +2,6 @@
DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=notcurses
@ -13,12 +12,6 @@ export PYBUILD_NAME=notcurses
override_dh_auto_configure:
dh_auto_configure -- -DDFSG_BUILD=ON
# dh_auto_test -O--buildsystem=cmake -O--no-parallel
# Don't try to run ncurses tests
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd obj-x86_64-linux-gnu && env -u TERM make test
endif
override_dh_auto_install:
dh_auto_install -B $(BUILDDIR)
rm -rf debian/tmp/usr/lib/python3/dist-packages/__pycache__