https://github.com/pedroediaz/xbps-make
Minimal Package Builder for XBPS
https://github.com/pedroediaz/xbps-make
make posix repo repositories void void-linux void-packages voidlinux xbps xbps-src
Last synced: 5 days ago
JSON representation
Minimal Package Builder for XBPS
- Host: GitHub
- URL: https://github.com/pedroediaz/xbps-make
- Owner: PedroEdiaz
- License: 0bsd
- Created: 2024-06-16T06:43:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-20T21:40:46.000Z (about 1 year ago)
- Last Synced: 2025-05-20T22:17:22.207Z (about 1 year ago)
- Topics: make, posix, repo, repositories, void, void-linux, void-packages, voidlinux, xbps, xbps-src
- Language: C
- Homepage:
- Size: 40 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xbps-make: Minimal Package Builder for XBPS
A lightweight, POSIX-compliant Makefile wrapper to automate building packages
for the XBPS package manager (used in Void Linux). Designed for developers who
want a simple, scriptable interface to streamline package builds without
complex tooling.
## Features
- Minimal dependecies (coreutils, xbps, bmake, git, curl, sed, tar, gzip)
- Declarative build system
- Hackable for other package managments
- Rebuilds only when necessary
## Usage
```sh
bmake devel/tcc.src # download source
bmake devel/tcc.xbps # build and make package
bmake clean # clean build directory if failed
```
## Options
You can customize behavior with these environment variables:
Variable|Description
--------|------------
MAN=no|Skip installinkg man pages
POSIX=no|Skip installing POSIX-compilant options
BUILDDIR=path|Set custom path to compile `.src` files
CACHEDIR=path|Set custom cache directory fo `.src` files
XBPSDIR=path|Set custom path to output directory for `.xbps` packages
## Warning
- This project is built with `bmake` (NetBSD make). Other POSIX-compliant make tools should work, but haven't been tested.
- *GNU Make is not supported* — its include syntax is incompatible with POSIX make.
## Licence
0BSD – Zero Clause BSD License. See [LICENSE](./LICENSE) for details.
Feel free to use, modify, and share freely — no restrictions.
## Contributing
Contributions are welcome! Feel free to submit issues or pull requests.