Добавлена сборка в пакет для Debian дистрибутива
This commit is contained in:
parent
a74579d709
commit
2ad04b4603
15 changed files with 610 additions and 0 deletions
10
debian/.gitignore
vendored
Normal file
10
debian/.gitignore
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
.debhelper
|
||||
*.debhelper
|
||||
*.debhelper.log
|
||||
changelog
|
||||
debhelper-build-stamp
|
||||
termidesk-lsb
|
||||
termidesk-lsb.substvars
|
||||
files
|
||||
tmp
|
||||
|
6
debian/changelog.in
vendored
Normal file
6
debian/changelog.in
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
${DEB_PACKAGE_NAME} (${DEB_PACKAGE_VERSION}) stable; urgency=medium
|
||||
|
||||
* Release snag ${DEB_PACKAGE_VERSION}
|
||||
|
||||
-- Alexander Zhirov <alexander@zhirov.kz> ${DEB_PACKAGE_CHANGELOG_DATE}
|
||||
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
11
|
14
debian/control
vendored
Normal file
14
debian/control
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
Source: snag
|
||||
Maintainer: Alexander Zhirov <alexander@zhirov.kz>
|
||||
Section: non-free/admin
|
||||
Priority: optional
|
||||
Build-Depends: debhelper (>= 11), cmake
|
||||
Homepage: https://zhirov.kz
|
||||
|
||||
Package: snag
|
||||
Architecture: any
|
||||
Section: non-free/admin
|
||||
Priority: optional
|
||||
Description: Сommand-line utility for creating, managing, and restoring data snapshots
|
||||
Depends: git (>= 2.30)
|
||||
Homepage: https://zhirov.kz
|
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
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
Loading…
Add table
Add a link
Reference in a new issue