Commit graph

122 commits

Author SHA1 Message Date
Juan RP
fb777453b9 hooks/post-install: new hook (pkglint) to abort if pkg contains forbidden dirs. 2014-03-19 16:32:12 +01:00
Juan RP
0026342862 Infrastructure changes to allow unsetting template vars/funcs.
xbps-src-112 does not unset those vars/funcs anymore, so it's a work
that must be done via common/environment/setup{,-subpkg}.
2014-03-19 09:03:21 +01:00
Juan RP
9b60085684 common/hooks/post-install: reorder some hooks so that no unnecessary INSTALL/REMOVE scripts are generated. 2014-03-18 07:54:12 +01:00
Juan RP
e8ac04d05b Revert "common/hooks/post-install/06-prepare-32bit.sh: ignore bootstrap pkgs."
This reverts commit e1f2d12a95.

glibc must have 32bit packages and it's a bootstrap pkg.
2014-03-17 14:15:26 +01:00
Juan RP
e1f2d12a95 common/hooks/post-install/06-prepare-32bit.sh: ignore bootstrap pkgs. 2014-03-17 11:45:54 +01:00
Juan RP
5070941df3 Remove the hook to compress manpages... no compressed manpages from now on. 2014-03-13 19:05:04 +01:00
Juan RP
affb12291c hooks/post-install: added 6th arg in binpkg scripts (xbps support added in 0.33_2). 2014-03-12 10:19:20 +01:00
Juan RP
d7c0bcec4f hooks/post-install/01-create-xbps-vpkg-files: update for xbps>=0.33. 2014-03-11 13:17:09 +01:00
Juan RP
320167e7e1 hooks/prepare-32bit: added lib32files var to add additional files to 32bit pkgs. 2014-03-09 11:23:58 +01:00
Juan RP
e9e8c638a8 hooks/prepare-32bit: new variables to improve 32bit pkg creation.
- lib32depends: if set, 32bit pkg will use this rather than "depends".
- lib32disabled: if set, no 32bit pkg will be created.
- lib32mode:
  * if unset only files for libraries will be copied.
  * if set to "full" all files will be copied

Still not perfect but should be enough to have skype-32bit.
2014-03-08 11:36:51 +01:00
Juan RP
8d7e6525e6 hooks/post-install/06-prepare-32bit: also include .o files (crtX.o). 2014-03-07 15:47:38 +01:00
Juan RP
772e938938 hooks/post-install/06-prepare-32bit.sh: return early if destdir32 does not exist; only for x86. 2014-03-07 09:49:41 +01:00
Juan RP
a26205c634 common/hooks: enable by default 32bit pkgs for x86_64. 2014-03-06 21:03:23 +01:00
Juan RP
dddb603aeb common/hooks/post-install/06-prepare-32bit.sh: fix generated rdeps file.
The entries must be separated by blanks not newlines.
2014-03-06 04:19:07 +01:00
Juan RP
908af511f9 common/hooks: new hook to generate 32bit pkgs for x86_64 (WIP). 2014-03-02 12:26:24 +01:00
Juan RP
030f58909f common/hooks: new post-install hook to generate pkg gitrevs file. 2014-03-02 08:33:28 +01:00
Juan RP
f5827d8b4b hooks/post-install/03-strip-and-debug-pkgs.sh: respect $noarch and $nostrip. 2014-02-13 17:12:09 +01:00
Juan RP
94eb08b05a hooks/04-generate-runtime-deps.sh: disable trap on ERR, not too useful on this hook. 2014-02-12 18:03:21 +01:00
Juan RP
2daaa82b63 common/hooks: new hooks moved from xbps-src. 2014-02-12 17:26:40 +01:00
Juan RP
af8b5befde common/hooks/post-install: remove unneeded messages. 2014-02-12 15:08:35 +01:00
Juan RP
907f392e4d common/hooks: add some hooks moved from xbps-src (not yet used). 2014-02-12 12:55:42 +01:00
Juan RP
372ed2763f Introduce common/hooks to implement hooks at specified phases.
xbps-src will soon move some stuff to the common hooks directory.
2014-02-12 10:44:21 +01:00