Commit graph

8 commits

Author SHA1 Message Date
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
59a2ac4118 bzip2: don't forget to install the shared lib and fix its soname.
--HG--
extra : convert_revision : 13e3b4349de90a45efc784e4280de79ca5dc6977
2009-02-18 03:13:38 +01:00
Juan RP
f545a7be72 Revert "bzip2: fails with -j at install target."
I've found the real error, so reverting previous.

--HG--
extra : convert_revision : f85cbd09edc1fb56cce7e97085d063b8e4347c19
2009-02-17 16:59:54 +01:00
Juan RP
462ad9d20c bzip2: fails with -j at install target.
--HG--
extra : convert_revision : 2df8d03882415106cc01bf6dfb56d8693583b7cf
2009-02-17 16:57:20 +01:00
Juan RP
bcf9dff398 Rename automatic patches to just "install.diff" or "build.diff".
--HG--
extra : convert_revision : 93ca1b8d614e75cc1df7e12735bde31b04c2e9d1
2009-02-04 03:50:36 +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