Commit Graph

8 Commits

Author SHA1 Message Date
Juan RP
06a463fe7f hooks/script-wrapper: create sdl-config wrapper. 2014-05-13 11:14:07 +02:00
Juan RP
ffb0ebe230 hooks/script-wrapper: create freetype-config wrapper; simplify code. 2014-05-13 10:42:47 +02:00
Juan RP
83d9e05be6 hooks/script-wrapper: create libgcrypt-config wrapper. 2014-05-13 08:27:38 +02:00
Juan RP
fac0d115bc hooks/pre-configure: new hook to generate foo-config wrappers in cross builds.
Script wrappers are created in ${wrksrc}/.xbps/bin and this path is appended
to make the configure scripts detect them.

This avoids adding build deps in hostmakedepends, as well as avoiding modifying
templates to specify the path to the script.

Currently this only creates a wrapper for "icu-config", but can be extended
easily to create more wrappers (freetype, libxml, etc).
2014-05-12 21:14:23 +02:00
Juan RP
aa83852d7b common/hooks: add support for do-<phase> hooks as suggested by Gottox.
- New hooks for do-fetch and do-extract moved from xbps-src.
- Renamed some hooks to have XX as prefix.
2014-03-05 11:02:37 +01:00
Juan RP
affe0abc3e pre-configure/gnu-configure-asneeded.sh: do nothing if configure_script does not exist. 2014-02-15 05:12:32 +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