mirror of void-packages + my own branches
Find a file
Juan RP e372fcc6e0 xbps-src: fix pkg options parsing in package names containing dashes.
When using per-pkg options via etc/conf, all dashes should be replaced by
underscores, i.e:

	XBPS_PKG_OPTIONS_xorg_server=opt,~opt2
2014-07-19 10:39:22 +02:00
common xbps-src: fix pkg options parsing in package names containing dashes. 2014-07-19 10:39:22 +02:00
etc
srcpkgs git: update to 2.0.2. 2014-07-19 10:01:43 +02:00
.gitignore
COPYING
Manual.md xbps-src: fix pkg options parsing in package names containing dashes. 2014-07-19 10:39:22 +02:00
README.md
xbps-src

The XBPS source packages collection

This repository contains the XBPS source packages collection to build binary packages for the Void Linux distribution.

To start using it first you'll need some external dependencies:

  • bash
  • fakeroot (only required by the bootstrap target)
  • xbps >= 0.37

Make sure your user is added to the xbuilder group to be able to use xbps-uchroot(8), otherwise xbps-src won't work correctly.

The xbps-src utility will allow you to generate XBPS binary packages, type

 $ ./xbps-src -h

to see all available targets/options and start building any available package in the srcpkgs directory.

The etc/defaults.conf file contains the possible settings that can be overrided 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.

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:

$ echo 'XBPS_CFLAGS+=" your flags here "' >> etc/conf
$ echo 'XBPS_LDFLAGS+=" your flags here "' >> etc/conf

See Manual for documentation to create and learn about the source packages.