Juan RP 503afdd48d libxbps: extend the API, new func: xbps_repository_pool_find_pkg.
prop_dictionary_t xbps_repository_pool_find_pkg(const char *pkg, bool bypattern, bool best)

This function iterates over the repository pool and returns a pkg
dictionary matching its pkgname if "bypattern" is false, otherwise
if "pkg" matches the pkgdep pattern. If "best" is true, it will look
in all repos and will return the newer version, otherwise the first one
that matches the arguments specified.

With this addition supporting many small registered repos is cheap, because
it checks by-package rather than by-package-list. This also helped to removed
some duplicated code and fix some rare bugs.

Bump XBPS_RELVER to 20110118.
2011-01-18 14:44:39 +01:00
2011-01-16 17:07:43 +01:00
2010-04-28 03:40:31 +02:00
2011-01-16 17:07:43 +01:00

See http://code.google.com/p/xbps for information.

To build this you'll need:

  - pkg-config
  - zlib (development package with static libs)
  - openssl (development package with static libs)
  - libarchive >= 2.8.0 (development package with static libs)

Optionally to build the API documentation:

  - graphviz and doxygen.

Just run ./configure && make && make install. By default PREFIX is set
to `/usr/local', can be changed by setting --prefix. The DESTDIR variable
is also supported for package managers.

There are some more options that can be tweaked, see them with
`./configure --help'.

Good luck!
Description
No description provided
Readme 11 MiB
Languages
C 77.4%
Shell 17.2%
Roff 4.4%
Makefile 1%