2014-04-01 10:13:59 +00:00
|
|
|
## The XBPS source packages collection
|
2012-12-23 10:18:30 +00:00
|
|
|
|
2014-04-01 09:29:21 +00:00
|
|
|
This repository contains the XBPS source packages collection to build binary packages
|
2014-03-22 12:09:30 +00:00
|
|
|
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-04-01 09:29:21 +00:00
|
|
|
- bash
|
2014-09-29 22:50:46 +00:00
|
|
|
- xbps >= 0.41
|
2012-12-23 10:18:30 +00:00
|
|
|
|
2014-04-28 09:42:42 +00:00
|
|
|
Make sure your user is added to the `xbuilder` group to be able to use `xbps-uchroot(8)`,
|
2014-04-01 09:29:21 +00:00
|
|
|
otherwise `xbps-src` won't work correctly.
|
2012-12-23 10:18:30 +00:00
|
|
|
|
2014-09-06 10:37:09 +00:00
|
|
|
Type:
|
2014-03-22 12:09:30 +00:00
|
|
|
|
|
|
|
$ ./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-09-06 10:37:09 +00:00
|
|
|
### Configuration
|
|
|
|
|
2014-03-22 18:49:59 +00:00
|
|
|
The `etc/defaults.conf` file contains the possible settings that can be overrided
|
2014-07-01 08:40:33 +00:00
|
|
|
through the `etc/conf` configuration file for the `xbps-src` utility; if that file
|
|
|
|
does not exist, will try to read configuration settings from `~/.xbps-src.conf`.
|
2014-03-22 18:49:59 +00:00
|
|
|
|
2014-05-16 08:21:50 +00:00
|
|
|
If you want to customize default `CFLAGS`, `CXXFLAGS` and `LDFLAGS`, don't override
|
|
|
|
those defined in `etc/defaults.conf`, append to them instead via `etc/conf` i.e:
|
|
|
|
|
2014-05-16 08:23:21 +00:00
|
|
|
$ echo 'XBPS_CFLAGS+=" your flags here "' >> etc/conf
|
|
|
|
$ echo 'XBPS_LDFLAGS+=" your flags here "' >> etc/conf
|
2014-05-16 08:21:50 +00:00
|
|
|
|
2014-09-06 10:37:09 +00:00
|
|
|
#### Virtual packages
|
|
|
|
|
|
|
|
The `etc/defaults.virtual` file contains the default replacements for virtual packages,
|
|
|
|
used as dependencies in the source packages tree.
|
|
|
|
|
|
|
|
If you want to customize those replacements, copy `etc/defaults.virtual` to `etc/virtual`
|
|
|
|
and edit it accordingly to your needs.
|
|
|
|
|
|
|
|
### Contributing
|
|
|
|
|
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.
|