From 23f17705ec094dae7568ec9aa4d2a1ca1f0f1484 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 10 Apr 2023 19:45:54 +0200 Subject: [PATCH] added Makefile and debian control file --- Makefile | 32 ++++++++++++++++++++++++++++++++ debian/control | 10 ++++++++++ 2 files changed, 42 insertions(+) create mode 100644 Makefile create mode 100644 debian/control diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2482287 --- /dev/null +++ b/Makefile @@ -0,0 +1,32 @@ +#!/bin/bash + +# file: Makefile + +# By neox + +# License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 + +default: debian/tyto.deb + +### MAKE DEB + +.INTERMEDIATE: debian/debian-binary debian/control.tar.gz debian/data.tar.gz + +.PHONY: clean + +debian/tyto.deb: debian/debian-binary debian/control.tar.gz debian/data.tar.gz + ar -r debian/tyto.deb debian/debian-binary debian/control.tar.gz debian/data.tar.gz + +debian/data.tar.gz: + cd src && tar czvf ../debian/data.tar.gz usr var + +debian/control.tar.gz: + tar czvf debian/control.tar.gz debian/control #preinst postinst prerm postrm + +debian/debian-binary: + echo 2.0 > debian/debian-binary + +clean: + -rm debian/*.tar.gz + -rm debian/debian-binary + -rm debian/*.deb diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c38bd5b --- /dev/null +++ b/debian/control @@ -0,0 +1,10 @@ +Package: tyto +Version: 0.1.0 +Section: custom +Priority: optional +Architecture: all +Essential: no +Depends: rsync,nano,gawk,curl +Installed-Size: `du -ks .|cut -f 1` +Maintainer: echolib +Description: Tyto - Litterateur is a libre project to create and manage multiple websites from articles' files. Tyto uses its own syntax to convert your articles in HTML5 static pages. Tyto works on a GNU/Linux system and needs minimal dependencies. \ No newline at end of file