2008-12-12 17:12:45 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
WHAT IS IT?
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
2008-10-13 05:32:05 +00:00
|
|
|
xbps - xtraeme's build package system.
|
2008-09-29 17:25:56 +00:00
|
|
|
|
2008-10-30 06:36:18 +00:00
|
|
|
It is a simple build package system that installs packages inside of
|
|
|
|
a chroot in a destination directory. Once the package has been installed
|
|
|
|
into this directory, you can make it appear/unappear at the master directory
|
2008-12-12 17:12:45 +00:00
|
|
|
at any time. It's in spirit the same than GNU stow, but the files are just
|
|
|
|
copied (there are no soft/hard links).
|
2008-10-30 06:36:18 +00:00
|
|
|
|
2008-10-30 06:38:14 +00:00
|
|
|
xbps has been designed for Linux, and for the moment I'm not interested to
|
2008-10-30 06:36:18 +00:00
|
|
|
make it work on any other random OS. I've been a NetBSD developer for some
|
|
|
|
years and I do not want to come back... also the experience has helped to
|
|
|
|
me to start xbps and not to use pkgsrc, which is very portable but also
|
|
|
|
not so fast.
|
2008-09-29 18:05:13 +00:00
|
|
|
|
2008-12-12 17:12:45 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
REQUIREMENTS
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
2008-10-20 14:34:27 +00:00
|
|
|
xbps uses proplib, a property container object library and it's almost the
|
|
|
|
same one available for NetBSD. Be sure to have it installed before using
|
|
|
|
xbps. You can get it at:
|
|
|
|
|
|
|
|
http://code.google.com/p/portableproplib/
|
|
|
|
|
2008-12-12 17:12:45 +00:00
|
|
|
I'm also the human maintaining the portable proplib package. I'd suggest you
|
|
|
|
to install it into /usr/local to avoid issues with your distribution packages.
|
|
|
|
|
2009-02-05 15:12:00 +00:00
|
|
|
Additionally the following software is required to be able to build and install
|
|
|
|
xbps binary/source packages:
|
2008-12-12 17:12:45 +00:00
|
|
|
|
|
|
|
* GNU Binutils
|
|
|
|
* GNU Bison
|
2009-02-14 22:09:10 +00:00
|
|
|
* GNU GCC C++ (plus GMP and MPFR) development packages
|
2008-12-22 14:30:25 +00:00
|
|
|
* GNU Gettext
|
|
|
|
* GNU Make
|
2008-12-12 17:12:45 +00:00
|
|
|
* GNU m4
|
|
|
|
* fakeroot
|
2009-02-14 22:09:10 +00:00
|
|
|
* ncurses (development package)
|
2008-12-22 14:30:25 +00:00
|
|
|
* wget
|
2009-02-14 22:09:10 +00:00
|
|
|
* libarchive (development package)
|
|
|
|
* perl
|
2009-02-16 16:36:21 +00:00
|
|
|
* sudo
|
2008-12-12 17:12:45 +00:00
|
|
|
|
|
|
|
Super-user privileges are required as well, because all packages are built
|
|
|
|
in a chroot (except the ones that are included in a virtual package to be
|
|
|
|
able to build a minimal system for the chroot).
|
|
|
|
|
|
|
|
PLEASE NOTE THAT fakechroot or fakeroot-ng DO NOT WORK.
|
2008-10-30 06:36:18 +00:00
|
|
|
|
2008-09-29 18:05:13 +00:00
|
|
|
------------------------------------------------------------------------------
|
|
|
|
HOW TO USE IT
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
|
2008-12-22 01:14:40 +00:00
|
|
|
Before using xbps, some required utilities need to be built and installed
|
|
|
|
into $(PREFIX); by default they are installed into /usr/local.
|
|
|
|
You can do this by issuing "make" and "make install" as root in the top
|
2009-02-05 15:12:00 +00:00
|
|
|
level directory. See the REQUIREMENTS section above for required packages.
|
2008-12-22 01:14:40 +00:00
|
|
|
|
2009-02-05 15:12:00 +00:00
|
|
|
Once the xbps distfiles are installed into prefix, you can start building
|
|
|
|
packages from source, add local repositories with binary packages, install or
|
|
|
|
remove them, etc.
|
2008-10-20 14:34:27 +00:00
|
|
|
|
2009-02-05 15:12:00 +00:00
|
|
|
If you are only interested in building/using packages from source, see the
|
|
|
|
SRCPKG_INFO file.
|
2008-09-29 18:05:13 +00:00
|
|
|
|
2009-02-05 15:12:00 +00:00
|
|
|
For information about binary packages, see the BINPKG_INFO file.
|
2008-09-30 02:02:44 +00:00
|
|
|
|
|
|
|
------------------------------------------------------------------------------
|
2008-09-29 18:05:13 +00:00
|
|
|
Juan Romero Pardines <xtraeme@gmail.com>
|