mirror of
https://git.lain.church/bake/bake.git
synced 2025-05-13 15:26:44 +00:00
.deb Packaging
This commit is contained in:
parent
f829ecdb77
commit
006285f60a
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
||||
bake
|
||||
lex.yy.c
|
||||
*.gz
|
||||
*.deb
|
||||
|
4
README
4
README
@ -104,4 +104,6 @@ one day dare to package Bake as a deb. I would likely have to rename
|
||||
bake to ebake, which is somehow worse than the original name of eMake.
|
||||
|
||||
ebuild: <PENDING>
|
||||
debian: <PENDING> (perhaps forever)
|
||||
|
||||
debian: provided in repo --
|
||||
./deb/package; dpkg -i deb/bake.deb # this installs only bake.
|
||||
|
6
deb/changelog
Normal file
6
deb/changelog
Normal file
@ -0,0 +1,6 @@
|
||||
bake (20240101) stable; urgency=low
|
||||
|
||||
[ Emil Williams ]
|
||||
* Created Debian Package
|
||||
|
||||
-- Emil Williams <emilemilemil@cock.li> Sat, 04 Jan 2025 22:34:26 +0000
|
11
deb/control
Normal file
11
deb/control
Normal file
@ -0,0 +1,11 @@
|
||||
Source: bake
|
||||
Version: 20250101
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Maintainer: Emil Williams <emilemilemil@cock.li>
|
||||
Package: bake
|
||||
Architecture: amd64
|
||||
Depends: libc-bin (>= 2)
|
||||
Description: Run Embedded Shell Scripts
|
||||
It executes with /bin/sh the command after a "@BAKE " to the end of
|
||||
the line (a UNIX newline: '\n') or to the first instance of @STOP.
|
1
deb/copyright
Normal file
1
deb/copyright
Normal file
@ -0,0 +1 @@
|
||||
All source code and documentation under Bake is released to the Public Domain.
|
16
deb/package
Executable file
16
deb/package
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
cd "$(dirname "$(readlink -f $0)")" || exit
|
||||
|
||||
mkdir -p bake/DEBIAN/ bake/usr/bin/ bake/usr/share/man/man1/ bake/usr/share/doc/
|
||||
|
||||
cp ../bake bake/usr/bin/
|
||||
cp ../bake.1 bake/usr/share/man/man1/
|
||||
cp copyright changelog bake/usr/share/doc/
|
||||
cp control bake/DEBIAN/
|
||||
|
||||
gzip -n9 bake/usr/share/man/man1/bake.1
|
||||
gzip -n9 bake/usr/share/doc/changelog
|
||||
|
||||
strip bake/usr/bin/bake
|
||||
|
||||
dpkg-deb --root-owner-group --build bake
|
Loading…
x
Reference in New Issue
Block a user