Juan RP
4f67c26652
xbps-src: force autodeps cleanup while building dependencies.
...
Before that change, "./xbps-src -C pkg foo" would not remove dependencies
installed by previous builds required by foo.
2015-05-02 03:40:52 +02:00
Juan RP
ba814ab5c7
xbps-src/build.sh: error out if installing cross pkgs fails for some reason.
2015-04-15 11:38:23 +02:00
Juan RP
48548f1983
xbps-src/build.sh: sleep 1 second while running do-pkg.sh.
...
This will ensure that binpkg files do not have recorded the same mtime,
which is required in xbps to detect obsolete files properly.
2015-04-02 09:09:12 +02:00
Juan RP
7a59746763
xbps-src/build.sh: pass $sourcepkg not subpkgname to the helpers.
...
Close #1243
2015-03-30 20:24:11 +02:00
Juan RP
a86b30ba05
xbps-src: fix remaining issues with -N and -a.
2015-03-23 16:05:43 +01:00
Juan RP
03ef5b6804
xbps-src: make -N -a <target> work.
...
If required cross pkgs are not available in xbps repos, those are now built
automagically.
2015-03-23 12:44:37 +01:00
Juan RP
0337b86f43
xbps-src: return 0 on success, 1 on error and 2 on nocross/broken (ignore).
2015-03-19 10:08:02 +01:00
Juan RP
a8962ace18
xbps-src/build.sh: only skip building/installing deps for target pkg with -N.
2015-03-14 09:24:35 +01:00
Juan RP
f2883afc1b
xbps-src/build.sh: fix xbps-src-doinstall() when pkg is a subpkg.
...
Close #1120
2015-03-14 09:06:44 +01:00
Juan RP
849d22e46d
xbps-src: refactor build logic into its own script (build.sh).
...
The build.sh script is now responsible to handle all the logic to build
a source package and its subpackages, as well as all its required
build dependencies. Thanks to this and subshells, dependencies are now
built into its own child process, creating a process tree that can go
nested as long as your system allows forking and has enough memory :-)
This fixes some issues that have been while building pkgs that have lots
of nested dependencies.
2015-03-14 07:52:29 +01:00