# SPDX-License-Identifier: MIT # Debian package (cpack -G DEB). Dependencies are computed by dpkg-shlibdeps from the binaries, # so the package matches the distribution it was built on. set(CPACK_PACKAGE_NAME openpu) set(CPACK_PACKAGE_VENDOR "OpenPU contributors") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Download Peugeot head unit updates and prepare the USB stick") set(CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/yann64/openpu") set(CPACK_RESOURCE_FILE_LICENSE ${PROJECT_SOURCE_DIR}/LICENSE) set(CPACK_PACKAGE_INSTALL_DIRECTORY openpu) set(CPACK_STRIP_FILES ON) set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT) # openpu__.deb set(CPACK_DEBIAN_PACKAGE_SECTION utils) set(CPACK_DEBIAN_PACKAGE_MAINTAINER "OpenPU contributors ") set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Download Peugeot head unit updates and prepare the USB stick\n\ OpenPU downloads the firmware and navigation map updates of Peugeot head units\n\ (NAC, RCC, AIO, Crony) and prepares the installation USB stick: FAT32\n\ formatting, license and update files. Graphical interface (GTK 4) and\n\ command-line tool. Independent project, not affiliated with Stellantis or Peugeot.") set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) # UDisks2 formats and mounts the stick; without it only `openpu-cli write-dir` works. set(CPACK_DEBIAN_PACKAGE_RECOMMENDS "udisks2") set(CPACK_SOURCE_GENERATOR TGZ) set(CPACK_SOURCE_IGNORE_FILES "/\\\\.git/" "/build/" "\\\\.swp$") include(CPack)