Commit Graph

28 Commits

Author SHA1 Message Date
Juan RP e5c0f632d0 shutils: add $openrc_services var for use in templates.
--HG--
extra : convert_revision : 8923ecf479941feb2c606090896f2764e5fdc4fa
2009-05-04 23:18:28 +02:00
Juan RP 9dfcab1416 Rename config_shell to configure_shell.
--HG--
extra : convert_revision : 416900b81eca96e802f94b7a075842112d116eba
2009-04-28 00:13:21 +02:00
Juan RP 7d60f3d0c2 Provide $config_shell for templates, by default set to /bin/sh.
--HG--
extra : convert_revision : 8630725f3e1d5d8feb54a352d3116197727b69b6
2009-04-22 06:18:11 +02:00
Juan RP cad15bd3d2 Introduce $gtk_iconcache_dirs to fix the gtk-icon-cache trigger.
--HG--
extra : convert_revision : 1be7864a5554fd3779092adcdf1e9410be5d55a9
2009-04-20 01:20:31 +02:00
Juan RP c4435b0b56 Bah, fix another error with custom-install and distfiles not set.
--HG--
extra : convert_revision : e234012ab35ffa018945366eb81ecdabefdd5b01
2009-03-29 09:46:55 +02:00
Juan RP bf238a0b49 Fix "custom-install" templates without $distfiles.
--HG--
extra : convert_revision : c2efead6ee35fa7fcc0d95c05b4eb388971c3171
2009-03-28 19:34:22 +01:00
Juan RP 75bd88afc6 Rework how $revision is used. Works much better in all cases.
$version is not modified anymore.

--HG--
extra : convert_revision : a83408f47e22db2f34cd33d6d47eb2f045ae2758
2009-03-28 08:27:29 +01:00
Juan RP 47d8d684aa Introduce $revision for use in templates.
--HG--
extra : convert_revision : c57cd2a6705e04be838a02665d0ea11f525ce263
2009-03-27 16:39:28 +01:00
Juan RP 231b3fb32d Kill $install_priority. It was a hack and it's not needed anymore.
--HG--
extra : convert_revision : 993ed90732f140166d8b7f49475debca2fba30b1
2009-03-26 09:38:29 +01:00
Juan RP d5e7f8c5d2 Added noextract var. If set manual distfils extraction is required.
--HG--
extra : convert_revision : b1a2195517db3b511a2be87c0d4835a3178c4ffe
2009-03-21 05:28:39 +01:00
Juan RP 3667f039f2 Install all packages via DESTDIR var and not prefix.
This removes many assignments that were needed before, and fixes
some packages to install its manpage/info files.

--HG--
extra : convert_revision : 5422f921ef81d089ed95ce0c52e5106ea10b2165
2009-03-18 10:02:43 +01:00
Juan RP 855ec90fdf Add $register_shell var, to (un)register shells at post-{inst,rm} for binpkgs.
Multiple shells can be (un)registered by a single package, like:

register_shell="/bin/zsh-foo /bin/zsh-blah"

--HG--
extra : convert_revision : 0172a74b41e26089da97fcdc8cc2d5cb6ae147f2
2009-03-14 07:32:48 +01:00
Juan RP de411515cc Kill $base_package, it was only used by dash after all.
--HG--
extra : convert_revision : e7ac14b1535f716dec259fc208343b3f4b6bb75f
2009-03-14 06:11:52 +01:00
Juan RP 5862f23e6f Remove $postinstall_helpers and $tar_override_cmd.
These were used in the NetBSD days... not now.

--HG--
extra : convert_revision : 3c3f4de397389cec1ea1326f39bded7a93173c39
2009-03-12 10:33:48 +01:00
Juan RP df492b077c Remove $make_env. It's not really useful anymore.
--HG--
extra : convert_revision : f75462dfe24b62d3a278c722302b760ca4b475d2
2009-03-12 00:47:01 +01: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 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
Renamed from utils/sh/tmpl_funcs.sh (Browse further)