diff --git a/Makefile b/Makefile index f0c5bb8..66965b8 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ # SPDX-FileCopyrightText: 2023 Glenn Y. Rolland # Copyright © 2023 Glenn Y. Rolland -PREFIX=/usr +DESTDIR= +PREFIX=$(DESTDIR)/usr all: build diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..336b9fa --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +mfm (0.2.0) unstable; urgency=medium + + * Première version empaquetée pour Debian. + + -- Glenn Y. Rolland Sun, 29 Dec 2024 20:06:16 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a1b1311 --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: mfm +Section: utils +Priority: optional +Maintainer: Glenn Y. Rolland +Build-Depends: debhelper-compat (= 13), crystal, make +Standards-Version: 4.6.0 +Homepage: https://code.apps.glenux.net/glenux/mfm +Vcs-Git: https://code.apps.glenux.net/glenux/mfm.git +Vcs-Browser: https://code.apps.glenux.net/glenux/mfm + +Package: mfm +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Simple command-line helper for FUSE filesystems + MFM is a Crystal-lang CLI designed to streamline the management of various + FUSE filesystems, such as sshfs, gocryptfs, httpdirfs, and more. Through its + user-friendly interface, users can effortlessly mount and unmount filesystems, + get real-time filesystem status, and handle errors proficiently. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b9a024d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,8 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: my-crystal-app +Source: https://code.apps.glenux.net/glenux/mfm + +Files: * +Copyright: 2024, Glenn Y. Rolland +License: MIT + https://opensource.org/license/mit diff --git a/debian/mfm.install b/debian/mfm.install new file mode 100644 index 0000000..94ffbf4 --- /dev/null +++ b/debian/mfm.install @@ -0,0 +1,3 @@ +bin/mfm /usr/bin/ +README.md /usr/share/doc/mfm/ +LICENSE /usr/share/doc/mfm/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@