Commit Graph

85 Commits

Author SHA1 Message Date
Juan RP c29cfb8eac hooks/musl-override: also override config.sub if build_style is unset. 2014-12-28 09:09:31 +01:00
Juan RP 10454449cd hooks/script-wrapper: fix python-wrapper and update PATH. 2014-12-19 11:01:15 +01:00
Juan RP 9b3c55b8a3 hooks/script-wrapper: use XBPS_WRAPPERDIR. 2014-12-19 10:54:48 +01:00
Juan RP 3540a97b45 hooks/script-wrapper: create proper x{ml2,slt}-config cross wrappers. 2014-11-19 07:31:30 +01:00
Juan RP e8358f26b1 hooks/script-wrapper: also create a ncursesw5-config cross wrapper. 2014-11-16 19:59:50 +01:00
Juan RP c85d5db336 hooks/script-wrapper: create a fltk-config cross wrapper. 2014-11-16 08:48:38 +01:00
Juan RP def9cee898 hooks/script-wrapper: create libmikmod-config wrapper. 2014-10-12 09:16:02 +02:00
Juan RP c48d5ce913 hooks/script-wrapper: fix generated cups-config wrapper.
This was changing cups_serverbin to the cross toolchain sysroot
and caused cups-filters to install bins to this path.
2014-09-28 07:47:14 +02:00
Juan RP 6ab69ef143 xbps-src: hooks/script-wrapper: create a pkg-config symlink to the real wrapper.
...otherwise the envvars for cross compilation won't be set and
lots of packages are broken.
2014-09-27 04:57:20 +02:00
Juan RP 0a1ee2966a xbps-src: hooks/script-wrapper: generate the wrappers just once. 2014-09-27 03:58:09 +02:00
Juan RP 535117078c xbps-src: create a <cross-target>-pkg-config wrapper when cross compiling.
This wrapper sets the env vars required for proper cross compiling, rather
than always setting them.
2014-09-25 14:38:16 +02:00
Juan RP e5fdbaf91f hooks/script-wrapper: create xslt-config wrapper. 2014-09-12 12:55:59 +02:00
Juan RP 566c2b04c2 hooks/script-wrapper: create Magick-config wrapper. 2014-07-25 19:17:26 +02:00
Juan RP 1bc5dfa3c4 hooks/script-wrapper: create a workable cups-config wrapper to fix gtk+ cross build. 2014-07-22 08:51:27 +02:00
Juan RP 6fe802d0c4 hooks/script-wrapper: create taglib-config wrapper. 2014-06-26 10:07:59 +02:00
Juan RP fdf825f724 hooks/script-wrapper: create krb5-config and mysql_config wrappers. 2014-06-26 10:04:17 +02:00
Juan RP 4316138685 hooks/script-wrapper: create xmlrpc-c-config wrapper. 2014-06-25 09:29:25 +02:00
Juan RP 5f59f7ec3e hooks/script-wrapper: create curl-config wrapper. 2014-06-25 09:01:51 +02:00
Juan RP 90d3e1230c hooks/script-wrapper: create xml2-config wrapper. 2014-06-25 08:54:41 +02:00
Juan RP 75bfe1c813 hooks/script-wrapper: create cups-config wrapper. 2014-06-25 07:36:21 +02:00
Juan RP 688f6e3372 hooks/script-wrapper: create imlib2-config wrapper. 2014-06-22 09:49:41 +02:00
Juan RP b3ffc0a10e hooks/script-wrapper: generate python3.4-config wrapper correctly. 2014-06-20 11:05:00 +02:00
Juan RP a0551e3f7c hooks/script-wrapper: create simple python{,3.4}-config wrappers. 2014-06-19 13:15:26 +02:00
Juan RP 47d7334224 hooks/script-wrapper: create gpg-error-config wrapper. 2014-06-16 13:35:29 +02:00
Juan RP cc1557af85 hooks/script-wrapper: create ncurses5-config wrapper. 2014-06-05 01:10:08 +02:00
Juan RP 9787291df3 hooks/script-wrapper: create gpgme-config wrapper. 2014-06-04 13:43:17 +02:00
Juan RP ff4663480e hooks/script-wrapper: sdl2-config and libpng-config wrappers; enabled in build phase too. 2014-05-23 09:58:45 +02:00
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