Commit Graph

14 Commits

Author SHA1 Message Date
Juan RP
d005331ecc extract_funcs.sh: also accept .gz/.bz2 distfiles.
--HG--
extra : convert_revision : 97f42f27316569b9ef463ac1108caec7ce186047
2008-12-16 00:04:23 +01:00
Juan RP
b19babeff4 build_funcs.sh: collapse two if conditions into one.
--HG--
extra : convert_revision : 85676631474dc08c573cdc500b8867dbc76e0d6d
2008-12-15 09:23:08 +01:00
Juan RP
93f485a4e9 Added tmpl_vars util. Common vars that can be used in templates.
--HG--
extra : convert_revision : 68393e79e5f25d622d9142bf73b09b24ced28733
2008-12-15 07:27:38 +01:00
Juan RP
944309d934 Apply patches to {custom,only}-install templates too.
--HG--
extra : convert_revision : 81eea0b86a2fe153db432ad13dd0fbd03f6f6fbf
2008-12-15 01:19:47 +01:00
Juan RP
5c2d362169 Fix previous, it's conf_files not config_files.
--HG--
extra : convert_revision : dc8d0e29104846c5ecc066fbb68668042f4e51b5
2008-12-14 01:54:18 +01:00
Juan RP
6c9ac2ea07 Added keep_dirs and conf_files vars for templates.
These will be written in pkg metadata props file as well. For now
they don't change any behaviour, will be used in binary packages.

Convert some pkgs to use them.

--HG--
extra : convert_revision : d04f681cf80dc97ceb9e50370d5a8c0d7b52687c
2008-12-14 01:48:36 +01:00
Juan RP
2c7b9e58f7 builddep: optimize even more printing of required deps.
--HG--
extra : convert_revision : d18f0609ab1b6cc11913577c55f0a43f7886f036
2008-12-14 01:34:31 +01:00
Juan RP
9436b962df Merge branch 'master' into full-binpkgs
--HG--
extra : convert_revision : 7b927e0360aab3a5e05bd6036de0083b8ba677db
2008-12-13 09:01:23 +01:00
Juan RP
a27cfbf3c8 builddeps: improve min req deps printing.
--HG--
extra : convert_revision : 123d65cc4348fba54e3236a2f9109f4c145c6389
2008-12-13 08:59:50 +01:00
Juan RP
a31a003a63 Create binpkgs for meta-template packages.
--HG--
extra : convert_revision : fdf26fe45ee1b5ecb2d32a7e72e2b83c8ee02f5a
2008-12-13 08:44:51 +01:00
Juan RP
e817d470ab Added a new conf option: XBPS_PACKAGESDIR.
This is to specify where to store the binary packages.

--HG--
extra : convert_revision : 16d810d058b78662a33d8492caf7981e0700808e
2008-12-13 07:04:53 +01:00
Juan RP
8df4138beb binpkg: use run_rootcmd() when building the tarball.
--HG--
extra : convert_revision : c070ed6381fe27210fa7a3e39420f54ed6a19843
2008-12-13 06:11:56 +01:00
Juan RP
26f703e47f Split funcs from xbps.sh into its own files.
That way it's easier to work in certain parts and easier to
catch errors. There's a performance penalty, but this can be
fixed later.

--HG--
extra : convert_revision : c0b0e63c873bb4c078ce332dd5182a72d57c3969
2008-12-13 05:23:16 +01:00
Juan RP
23fa45a18b Reorganize the tree for easier and better handling.
- Template helpers have been moved to templates/helpers.
- Documentation to docs/.
- Common scripts have been moved to utils/sh.
- Fixed install-destdir when executed via chroot.
- Added a build-pkg target that builds a binary package.
  The package must be installed into destdir before using.
- Misc tweaks and fixes.

--HG--
extra : convert_revision : 0896e8f24bb7592116aaf77ae9c776033818a3d8
2008-12-13 03:01:24 +01:00