2014-04-01 12:13:59 +02:00
|
|
|
## The XBPS source packages collection
|
2012-12-23 11:18:30 +01:00
|
|
|
|
2014-04-01 11:29:21 +02:00
|
|
|
This repository contains the XBPS source packages collection to build binary packages
|
2014-03-22 13:09:30 +01:00
|
|
|
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-04-01 11:29:21 +02:00
|
|
|
- bash
|
2014-04-01 14:43:10 +02:00
|
|
|
- fakeroot (only required by the bootstrap target)
|
2014-04-01 11:29:21 +02:00
|
|
|
- xbps >= 0.35
|
2012-12-23 11:18:30 +01:00
|
|
|
|
2014-04-28 11:42:42 +02:00
|
|
|
Make sure your user is added to the `xbuilder` group to be able to use `xbps-uchroot(8)`,
|
2014-04-01 11:29:21 +02:00
|
|
|
otherwise `xbps-src` won't work correctly.
|
2012-12-23 11:18:30 +01:00
|
|
|
|
2014-04-01 11:29:21 +02:00
|
|
|
The `xbps-src` utility will allow you to generate XBPS binary packages, type
|
2014-03-22 13:09:30 +01:00
|
|
|
|
|
|
|
$ ./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
|
2014-04-28 15:45:54 +02:00
|
|
|
through the `etc/conf` configuration file for the `xbps-src` utility; optionally if
|
|
|
|
`~/.xbps-src.conf` exists it's also read after `etc/conf`.
|
2014-03-22 19:49:59 +01:00
|
|
|
|
2014-05-16 10:21:50 +02: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 10:23:21 +02:00
|
|
|
$ echo 'XBPS_CFLAGS+=" your flags here "' >> etc/conf
|
|
|
|
$ echo 'XBPS_LDFLAGS+=" your flags here "' >> etc/conf
|
2014-05-16 10:21:50 +02:00
|
|
|
|
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.
|