This commit is contained in:
2022-10-05 11:35:08 +03:00
parent 572b0be826
commit a061ebb7a9
36 changed files with 74 additions and 5 deletions

18
debian/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.6 FATAL_ERROR)
project(myx-cmake VERSION 1.99.88 LANGUAGES)
include(GNUInstallDirs)
file(WRITE ${CMAKE_SOURCE_DIR}/MyxCMake/MyxCMakeConfigVersion.cmake
"set(MYX_CMAKE_PACKAGE_VERSION \"${PROJECT_VERSION}\")\n"
"if(MYX_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 MyxCMake DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake")

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
myx-cmake (0.1.0-1) unstable; urgency=medium
myx-cmake (1.99.88) unstable; urgency=medium
* New version.

4
debian/rules vendored
View File

@ -3,6 +3,10 @@
%:
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

View File

@ -1 +1 @@
3.0 (quilt)
3.0 (native)