浏览代码

Add postinst and postrm scripts to Debian package built by CPack

pull/276/head
Jonathan GUILLOT 1 个月前
父节点
当前提交
3283e92f93
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      CMakeLists.txt

+ 3
- 0
CMakeLists.txt 查看文件

@@ -38,6 +38,9 @@ set(CPACK_GENERATOR "DEB")
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Grazer Computer Club - GC2 <wiringpi@gc2.at>")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6, libcrypt1")
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
"${CMAKE_CURRENT_SOURCE_DIR}/debian-template/wiringPi/DEBIAN/postinst"
"${CMAKE_CURRENT_SOURCE_DIR}/debian-template/wiringPi/DEBIAN/postrm")

# Check for arm or arm64 architecture
# Let CMake determine a value otherwise


正在加载...
取消
保存