added Makefile and debian control file
This commit is contained in:
parent
8503da6a42
commit
23f17705ec
|
@ -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
|
|
@ -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.
|
Loading…
Reference in New Issue