Начало
This commit is contained in:
18
debian/CMakeLists.txt
vendored
Normal file
18
debian/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
cmake_minimum_required(VERSION 3.6 FATAL_ERROR)
|
||||
project(myxx-cmake VERSION 2.0.1 LANGUAGES)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
file(WRITE ${CMAKE_SOURCE_DIR}/MyxxCMake/MyxxCMakeConfigVersion.cmake
|
||||
"set(MYXX_CMAKE_PACKAGE_VERSION \"${PROJECT_VERSION}\")\n"
|
||||
"if(MYXX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)\n"
|
||||
" set(PACKAGE_VERSION_COMPATIBLE FALSE)\n"
|
||||
"else()\n"
|
||||
" set(PACKAGE_VERSION_COMPATIBLE TRUE)\n"
|
||||
" if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)\n"
|
||||
" set(PACKAGE_VERSION_EXACT TRUE)\n"
|
||||
" endif()\n"
|
||||
"endif()\n"
|
||||
)
|
||||
|
||||
install(DIRECTORY MyxxCMake DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake")
|
||||
|
6
debian/changelog
vendored
Normal file
6
debian/changelog
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
myxx-cmake (2.0.1) unstable; urgency=medium
|
||||
|
||||
* New version.
|
||||
|
||||
-- Andrey Astafyev <dpkg@246060.ru> Wed, 08 Dec 2021 14:23:03 +0300
|
||||
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
9
|
15
debian/control
vendored
Normal file
15
debian/control
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
Source: myxx-cmake
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Andrey Astafyev <dev@246060.ru>
|
||||
Build-Depends: debhelper (>= 9), cmake
|
||||
Standards-Version: 4.2.0
|
||||
|
||||
Package: myxx-cmake
|
||||
Architecture: all
|
||||
Section: utils
|
||||
Depends: cmake
|
||||
Recommends: cmake-format
|
||||
Description: CMake functions library: development assistance functions
|
||||
CMake functions library: development assistance functions
|
||||
|
13
debian/rules
vendored
Executable file
13
debian/rules
vendored
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=cmake
|
||||
|
||||
override_dh_auto_configure:
|
||||
cp -f debian/CMakeLists.txt CMakeLists.txt
|
||||
dh_auto_configure
|
||||
|
||||
override_dh_fixperms:
|
||||
dh_fixperms
|
||||
# find debian -name asan-wrapper -print0 | xargs -0 chmod +x
|
||||
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
4
debian/source/options
vendored
Normal file
4
debian/source/options
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
compression = "xz"
|
||||
compression-level = 9
|
||||
extend-diff-ignore = "(^l10n\/.*ts)$"
|
||||
|
Reference in New Issue
Block a user