2014-03-22 11:09:30 -01:00
|
|
|
## The XBPS packages collection
|
2012-12-23 09:18:30 -01:00
|
|
|
|
2014-03-22 11:09:30 -01:00
|
|
|
This repository contains the XBPS package collection to build binary packages
|
|
|
|
for the Void Linux distribution.
|
2012-12-23 09:18:30 -01:00
|
|
|
|
2014-03-22 11:09:30 -01:00
|
|
|
To start using it first you'll need some external dependencies:
|
2012-12-23 09:18:30 -01:00
|
|
|
|
2014-03-22 11:09:30 -01:00
|
|
|
- GNU make
|
|
|
|
- GNU bash
|
|
|
|
- C compiler
|
|
|
|
- fakeroot
|
2012-12-23 09:18:30 -01:00
|
|
|
|
2014-03-22 11:09:30 -01:00
|
|
|
The `xbps-src` utility and its helpers must be built first:
|
2012-12-23 09:18:30 -01:00
|
|
|
|
2014-03-22 11:09:30 -01:00
|
|
|
$ make
|
|
|
|
|
|
|
|
The `xbps-src` chroot helper required to chroot and setup the bind mounts must
|
|
|
|
be a setgid binary that can only be executed by a special group, by default `xbuilder`.
|
|
|
|
To set the appropiate permissions run the `setup` target:
|
|
|
|
|
|
|
|
$ sudo make setup
|
|
|
|
|
|
|
|
After that you can run:
|
|
|
|
|
|
|
|
$ ./xbps-src -h
|
|
|
|
|
|
|
|
to see all available targets/options and start building any available package
|
|
|
|
in the `srcpkgs` directory.
|
2012-12-23 09:18:30 -01:00
|
|
|
|
2014-03-22 05:49:21 -01:00
|
|
|
See Manual.md for documentation to create and learn about the source packages.
|