Merge branch 'main' of https://git.a-lec.org/echolib/gsl
This commit is contained in:
commit
ff2f81567f
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# file: Makefile
|
||||||
|
# Folder: /var/lib/gsl/scripts
|
||||||
|
# By neox
|
||||||
|
# License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
|
||||||
|
|
||||||
|
default: egsl.deb
|
||||||
|
|
||||||
|
### MAKE DEB
|
||||||
|
|
||||||
|
.INTERMEDIATE: debian-binary control.tar.gz data.tar.gz
|
||||||
|
.PHONY: clean
|
||||||
|
|
||||||
|
egsl.deb: debian-binary control.tar.gz data.tar.gz
|
||||||
|
ar -r egsl.deb debian-binary control.tar.gz data.tar.gz
|
||||||
|
|
||||||
|
data.tar.gz:
|
||||||
|
tar czvf data.tar.gz etc usr var
|
||||||
|
|
||||||
|
control.tar.gz:
|
||||||
|
tar czvf control.tar.gz control #preinst postinst prerm postrm
|
||||||
|
|
||||||
|
debian-binary:
|
||||||
|
echo 2.0 > debian-binary
|
||||||
|
|
||||||
|
clean:
|
||||||
|
-rm *.tar.gz
|
||||||
|
-rm debian-binary
|
||||||
|
-rm *.deb
|
|
@ -0,0 +1,10 @@
|
||||||
|
Package: egsl
|
||||||
|
Version: 0.0.1
|
||||||
|
Section: custom
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Essential: no
|
||||||
|
Depends: curl
|
||||||
|
Installed-Size: `du -ks usr|cut -f 1`
|
||||||
|
Maintainer: echolib <echolib@a-lec.org>
|
||||||
|
Description: Echolib's GSL is a multiple blogs/websites generator based on their domain, written in bash, for minimal dependancies. The websites are nearly all static, except for some includes pages, like listing posts, that nginx can easily get, in your webserver.
|
Loading…
Reference in New Issue