1
0
src/simexec/packaging.md

51 lines
1.1 KiB
Markdown
Raw Normal View History

2023-01-07 22:24:56 +00:00
# Packaging simexec.c
## License
Simexec is Public Domain so there are basically no barriers when it comes to
licensing. And if you somehow violate my already-forfeited copyright, I promise
I won't sue you.
## Files
2023-01-07 22:39:01 +00:00
- `src/simexec`
- Can be moved to a system sources directory if it's desirable to keep
system sources on hand. Doesn't reference anything else in the
repository.
2023-01-07 22:24:56 +00:00
2023-01-07 22:39:01 +00:00
- `simexec.1`
- Included manual page for `simexec`. Can be placed in the appropriate
manual pages directory. If it displays weirdly and your fix is
portable, mail me and I'll probably bring it upstream.
- `simexec.c`
- A single C file that builds to a single executable, which should be
named `simexec`.
2023-01-07 22:24:56 +00:00
2023-01-07 22:39:01 +00:00
- `simexec`
- Program binary. Should be placed in a user-accessible binaries
directory.
2023-01-07 22:24:56 +00:00
2023-01-07 22:39:01 +00:00
## Dependencies
- `<sysexits.h>`
- Ignored if `EX_USAGE` is already defined.
2023-01-07 22:24:56 +00:00
2023-01-07 22:39:01 +00:00
- C standard library
## Compilation
2023-01-07 22:24:56 +00:00
```
cc -o simexec simexec.c
```
2023-01-07 22:39:01 +00:00
Or without `<sysexits.h>`:
2023-01-07 22:24:56 +00:00
```
cc -DEX_USAGE=1 -o simexec simexec.c
```
2023-01-07 22:39:01 +00:00
## Known packages
- [On the Arch User Repository](https://aur.archlinux.org/packages/simexec-git).