Commit Graph

12 Commits

Author SHA1 Message Date
Juan RP 2c53035fb7 Added support for extended pkgdep version matching.
xbps from launchpad head branch has gained support for extended
pkg version matching, as specified in:

https://blueprints.launchpad.net/xbps/+spec/improved-version-matching

Now it's required to specify the operator(s) for required versions
in the depends files and "Add_dependency" option in build templates.

xbps-src now requires xbps utils 20091107.

--HG--
extra : convert_revision : fc09fa707483a75e0b6f68445721fc1a9166cdad
2009-11-07 05:01:00 +01:00
Juan RP dd6b45c322 Set sourcepkg to pkgname through run_template().
This removes the need for having to specify sourcepkg manually in
every package that will build subpkgs.

--HG--
extra : convert_revision : 383e4c467e84844d2f4f61ae5c5e07a5124e9cfb
2009-07-29 22:44:30 +02:00
Juan RP aef9c1c8cc gmp: update to 4.3.1.
--HG--
extra : convert_revision : 0c61877d95a3e99036d483440aa00f6702445368
2009-06-07 05:44:01 +02:00
Juan RP 14ce2422be gmp: fix distfiles. From <ojab at ojab ru>, thanks.
--HG--
extra : convert_revision : 574f38b6253528325019377267d5c1d7cc3f7aad
2009-05-16 00:05:09 +02:00
Juan RP c7a4d47453 gmp: add m4 builddep.
--HG--
extra : convert_revision : 2dc9ee2362b9c828e1663b15d0681ae53c8e09a1
2009-04-24 17:24:35 +02:00
Juan RP 84222395b8 Provide some vars for use in template's targets.
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version),
SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR
(XBPS_TEMPLATESDIR/pkgname/files).

This simplifies packages that used them.

--HG--
extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
2009-03-11 06:31:56 +01:00
Juan RP e0030bc0fe Split pkgs required by xbps-base-chroot, as it was made in Fedora.
- Added an additional shell func to add full (build/run), build
  or run time dependencies to packages. An optional third parameter
  can be used to specify other version than the one set in
  the depends file.
- Use a "depends" file in package directory to specify minimum
  required ABI/API version for a package, so that there's no need
  to set the version all the time in pkgs.
- Updated bash to 4.0.

--HG--
extra : convert_revision : 1aa0ce32d4bdc2cd371eac19ae7bcff2c986b6b3
2009-02-24 07:13:11 +01:00
Juan RP 1b358afeaf Convert all xbps-base-chroot pkgs to subpkgs.
Also introduce "libs.depends", that adds a rundep of a package
with a proper version. This is to avoid modifying all dependent
packages if there's an API/ABI change.

--HG--
extra : convert_revision : a46b11b8e9187bdb2bfc954ad5ff40ecd9c0fe31
2009-02-22 05:57:13 +01:00
Juan RP 2cfb55735b Depend on glibc-libs in all converted pkgs to subpkgs.
--HG--
extra : convert_revision : c2ecbfbb96a502dff70bf9155abfc63f3f47ec43
2009-02-21 02:25:31 +01:00
Juan RP fed44a5c15 Use ${version} in gmp, mpfr, proplib subpkgs.
--HG--
extra : convert_revision : 96cd7fa219f8acec0885a0c2541976598de4125d
2009-02-20 16:07:37 +01:00
Juan RP c8163148da gmp, mpfr: converted to subpkgs.
--HG--
extra : convert_revision : 8ce5b84c7d3adf91880e38466ba360bd028a464b
2009-02-20 06:26:27 +01:00
Juan RP fa2748d9b2 Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files
and other related stuff are stored there.

--HG--
extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
2009-02-03 21:35:57 +01:00