mirror of void-packages + my own branches
Find a file
Juan RP 9d34c36e0a Implemented support for permanent pkg build options (globally or per-pkg).
Permanent global pkg build options can be defined via 'XBPS_PKG_OPTIONS' in etc/conf.
Permament per-pkg build options can be defined via 'XBPS_PKG_OPTIONS_<pkgname>' in etc/conf.

Close GH #452.
2014-06-30 11:32:07 +02:00
common Implemented support for permanent pkg build options (globally or per-pkg). 2014-06-30 11:32:07 +02:00
etc Implemented support for permanent pkg build options (globally or per-pkg). 2014-06-30 11:32:07 +02:00
srcpkgs lzo: update to 2.0.8. 2014-06-30 07:59:24 +02:00
.gitignore xbps-src: use default hostdir if unset; added support for x86 chroots ootb. 2014-04-22 16:01:05 +02:00
COPYING COPYING: mention void, not just 3 names. 2014-04-27 17:54:23 +02:00
Manual.md Implemented support for permanent pkg build options (globally or per-pkg). 2014-06-30 11:32:07 +02:00
README.md README: update: needs xbps >= 0.37 2014-06-30 11:16:54 +02:00
xbps-src Implemented support for permanent pkg build options (globally or per-pkg). 2014-06-30 11:32:07 +02:00

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; optionally if ~/.xbps-src.conf exists it's also read after etc/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.