2014-03-22 13:09:30 +01:00
|
|
|
## The XBPS packages collection
|
2012-12-23 11:18:30 +01:00
|
|
|
|
2014-03-22 13:09:30 +01:00
|
|
|
This repository contains the XBPS package collection to build binary packages
|
|
|
|
for the Void Linux distribution.
|
2012-12-23 11:18:30 +01:00
|
|
|
|
2014-03-22 13:09:30 +01:00
|
|
|
To start using it first you'll need some external dependencies:
|
2012-12-23 11:18:30 +01:00
|
|
|
|
2014-03-22 13:09:30 +01:00
|
|
|
- GNU make
|
|
|
|
- GNU bash
|
|
|
|
- C compiler
|
|
|
|
- fakeroot
|
2014-03-22 19:41:45 +01:00
|
|
|
- xbps >= 0.33
|
2012-12-23 11:18:30 +01:00
|
|
|
|
2014-03-22 13:09:30 +01:00
|
|
|
The `xbps-src` utility and its helpers must be built first:
|
2012-12-23 11:18:30 +01:00
|
|
|
|
2014-03-22 13: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 11:18:30 +01:00
|
|
|
|
2014-03-22 19:49:59 +01:00
|
|
|
The `etc/defaults.conf` file contains the possible settings that can be overrided
|
|
|
|
through `etc/conf` configuration file for the `xbps-src` utility.
|
|
|
|
|
2014-03-22 19:36:56 +01:00
|
|
|
See [Manual](https://github.com/voidlinux/xbps-packages/blob/master/Manual.md)
|
2014-03-22 19:33:26 +01:00
|
|
|
for documentation to create and learn about the source packages.
|