2008-12-12 18:12:45 +01:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
WHAT IS IT?
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
2008-10-13 07:32:05 +02:00
|
|
|
xbps - xtraeme's build package system.
|
2008-09-29 19:25:56 +02:00
|
|
|
|
2008-10-30 07:36:18 +01: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 18:12:45 +01: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 07:36:18 +01:00
|
|
|
|
2008-10-30 07:38:14 +01:00
|
|
|
xbps has been designed for Linux, and for the moment I'm not interested to
|
2008-10-30 07:36:18 +01: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 20:05:13 +02:00
|
|
|
|
2008-12-12 18:12:45 +01:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
REQUIREMENTS
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
2008-10-20 16:34:27 +02: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 18:12:45 +01: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 16:12:00 +01:00
|
|
|
Additionally the following software is required to be able to build and install
|
|
|
|
xbps binary/source packages:
|
2008-12-12 18:12:45 +01:00
|
|
|
|
|
|
|
* GNU Binutils
|
|
|
|
* GNU Bison
|
2008-12-22 15:30:25 +01:00
|
|
|
* GNU GCC C++ (plus GMP and MPFR) development packages.
|
|
|
|
* GNU Gettext
|
|
|
|
* GNU Make
|
2008-12-12 18:12:45 +01:00
|
|
|
* GNU m4
|
|
|
|
* fakeroot
|
2008-12-22 15:36:13 +01:00
|
|
|
* ncurses (development package).
|
2008-12-22 15:30:25 +01:00
|
|
|
* wget
|
2008-12-27 05:25:38 +01:00
|
|
|
* libarchive (development package).
|
2008-12-12 18:12:45 +01: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 07:36:18 +01:00
|
|
|
|
2008-09-29 20:05:13 +02:00
|
|
|
------------------------------------------------------------------------------
|
|
|
|
HOW TO USE IT
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
|
2008-12-22 02:14:40 +01: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 16:12:00 +01:00
|
|
|
level directory. See the REQUIREMENTS section above for required packages.
|
2008-12-22 02:14:40 +01:00
|
|
|
|
2009-02-05 16:12:00 +01: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 16:34:27 +02:00
|
|
|
|
2009-02-05 16:12:00 +01:00
|
|
|
If you are only interested in building/using packages from source, see the
|
|
|
|
SRCPKG_INFO file.
|
2008-09-29 20:05:13 +02:00
|
|
|
|
2009-02-05 16:12:00 +01:00
|
|
|
For information about binary packages, see the BINPKG_INFO file.
|
2008-09-30 04:02:44 +02:00
|
|
|
|
|
|
|
------------------------------------------------------------------------------
|
2008-09-29 20:05:13 +02:00
|
|
|
Juan Romero Pardines <xtraeme@gmail.com>
|