parent
d64e20a836
commit
0a21c307f7
28
README.md
28
README.md
|
@ -1,4 +1,4 @@
|
|||
=Info=
|
||||
# Info
|
||||
|
||||
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:
|
||||
|
||||
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/
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue