added Makefile and debian control file

This commit is contained in:
Adrien Bourmault 2023-04-10 19:45:54 +02:00
parent 8503da6a42
commit 23f17705ec
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
2 changed files with 42 additions and 0 deletions

32
Makefile Normal file
View File

@ -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

10
debian/control vendored Normal file
View File

@ -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 <echolib@a-lec.org>
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.