Добавлена сборка в пакет для Debian дистрибутива
This commit is contained in:
parent
a74579d709
commit
2ad04b4603
15 changed files with 610 additions and 0 deletions
23
debian/rules
vendored
Executable file
23
debian/rules
vendored
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
BUILD_SYSTEM = --buildsystem=cmake
|
||||
DEBIAN_DIR = $(CURDIR)/debian
|
||||
DEST_DIR = $(DEBIAN_DIR)/snag
|
||||
|
||||
%:
|
||||
dh $@ $(BUILD_SYSTEM)
|
||||
|
||||
override_dh_auto_configure:
|
||||
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr
|
||||
|
||||
override_dh_auto_build:
|
||||
cmake --build build
|
||||
|
||||
override_dh_auto_test:
|
||||
# Ничего не делаем, тесты отсутствуют
|
||||
|
||||
override_dh_auto_install:
|
||||
DESTDIR=$(DEST_DIR) cmake --install build
|
||||
|
||||
override_dh_shlibdeps:
|
||||
# Отключить проверку зависимостей от *.so
|
Loading…
Add table
Add a link
Reference in a new issue