Just a README update.

This commit is contained in:
Johannes Findeisen 2026-11-14 11:58:23 +01:00
commit 234b0f4f35

View file

@ -22,6 +22,34 @@ macrecord was created by my good friend Armin. You can find his code here:
build; at run time the shared `libFLAC` / `libmp3lame` libraries are used.
- `pkg-config` (used to locate ALSA, FLAC and LAME)
## Build
```bash
make
# or directly:
# gcc -std=c99 -O2 -Wall -Wextra tuxrecord.c -o tuxrecord \
# $(pkg-config --cflags --libs alsa flac lame) -lm
```
Install (installs to `$(PREFIX)/bin`, default `/usr/local/bin`):
```bash
sudo make install
# or: sudo cp tuxrecord /usr/local/bin/tuxrecord
```
Install to a custom prefix:
```bash
make install PREFIX=~/.local
```
Uninstall:
```bash
sudo make uninstall
```
## Usage
```bash
@ -176,34 +204,6 @@ same `<prefix>__<timestamp>.<ext>` naming and can be stopped with `q` or
`wpctl` output) or by creating a loopback with `pw-loopback` and recording
that node.
## Build
```bash
make
# or directly:
# gcc -std=c99 -O2 -Wall -Wextra tuxrecord.c -o tuxrecord \
# $(pkg-config --cflags --libs alsa flac lame) -lm
```
Install (installs to `$(PREFIX)/bin`, default `/usr/local/bin`):
```bash
sudo make install
# or: sudo cp tuxrecord /usr/local/bin/tuxrecord
```
Install to a custom prefix:
```bash
make install PREFIX=~/.local
```
Uninstall:
```bash
sudo make uninstall
```
## License
Apache License 2.0 — see the LICENSE file for details.