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