Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-01-29 00:59:06 -06:00
parent d64e20a836
commit 0a21c307f7
1 changed files with 27 additions and 1 deletions

View File

@ -1,4 +1,4 @@
=Info= # Info
Packages up various stuff using the bare minimum of interaction to make a .deb package. Packages up various stuff using the bare minimum of interaction to make a .deb package.
@ -8,3 +8,29 @@ seems to be to use dpkg-deb.
The packages themselves you can browse and/or download here: The packages themselves you can browse and/or download here:
http://mirrors.wit.org/wit/pool/main/ http://mirrors.wit.org/wit/pool/main/
# Makefile
```
help:
@echo
@echo "# this are just simple shortcuts to package up files on a system once you have it compiled and installed"
@echo "cd <projectName>; make all"
@echo
#
# Just for reference, you can make a debian package using 'ar' from the command line
#
# A .deb file is just output from 'ar rcs'
#
tar-ar:
cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz .
cd files && tar -cvJf ../data.tar.xz .
ar rcs ${BASENAME}_${VERSION}_amd64.deb debian-binary control.tar.xz data.tar.xz
dpkg-deb --info ${BASENAME}_${VERSION}_amd64.deb
clean:
rm -rf files/
rm -f *.deb
rm -f *.tar.xz data.tar.xz
rm -rf */DEBIAN/
```