Commit Graph

12 Commits

Author SHA1 Message Date
Juan RP
33edcb122b Provide FILESDIR to template files and use it in some pkgs.
This always points to ${XBPS_TEMPLATESDIR}/${pkgname}/files.

--HG--
extra : convert_revision : ef23025694cb95d508d511ab52bf67c66ead9d61
2009-03-08 01:31:24 +01:00
Juan RP
5c8d0c01b3 Make (un)set_build_vars() work inside of the chroot.
This has the effect to really pass the XBPS_C(XX)FLAGS values from
xbps.conf to the packages built there.

--HG--
extra : convert_revision : 87ea9f6a755ba3f60a095391d2b0069ab22cb742
2009-03-03 19:06:27 +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
b225a1dc30 Added support to build subpackages from a single source.
proplib has been converted to see how it works.

--HG--
extra : convert_revision : dfcd1f547884108d69682e9e62b4aacfa431cc83
2009-02-20 04:10:55 +01:00
Juan RP
12d65cc30c Move run_template() to tmpl_funcs.sh.
--HG--
extra : convert_revision : b5dcd681b3faacde90a783a0c13493600f36a5a8
2009-02-18 01:32:42 +01:00
Juan RP
870addbffc Add a "noarch" var. Used by packages that aren't arch specific.
--HG--
extra : convert_revision : 263bd27542e1f2e65f119eb307d37d7b7ade3236
2009-02-15 23:57:15 +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
Juan RP
869b38b9fa Make sure to run tmpl_vars for a template.
--HG--
extra : convert_revision : 2146c1d7492dd27490501f0fe836fdb19e792548
2009-01-14 16:49:40 +01:00
Juan RP
68941a9a31 Introduce $install_priority for use in templates.
A higher number in this var will make the binary package to
be installed before other with lower priority. By default, all
packages have a 0 priority. xbps-base-dirs uses 100, because it
needs to be one of the first installed packages.

--HG--
extra : convert_revision : 81a88b676d2ae3180914612371619f19e1765d02
2008-12-27 16:20:54 +01:00
Juan RP
f6f7288c48 Make it possible to install 'custom-install' pkgs without distfiles.
Make xbps-base-{chroot,system} install the lib -> lib64 symlinks on
x86_64.

--HG--
extra : convert_revision : 9404d50c8a15dcd700df49aace1bbd105749f00a
2008-12-27 04:21:38 +01:00
Juan RP
db45574f24 Add /usr/local/sbin into PATH.
--HG--
extra : convert_revision : c5315db73a191482858c52d5dc54f3e264ada219
2008-12-22 02:23:52 +01:00
Juan RP
e7cf222ac9 Reorganize the tree splitting stuff on its own dir.
--HG--
extra : convert_revision : 87473fb499c42deaf0285f5559dc1cd8d67ab436
2008-12-21 23:57:02 +01:00