Christian Wiese
4f80fca4f5
lib/functions.in: moved $configcachfile handling into create_config_cache()
10 years ago
Christian Wiese
65556aad56
lib/functions.in: introduce configcachefile variable which holds a space delimited list of config.cache files
11 years ago
Christian Wiese
6c236a9c2a
lib/functions.in: changed to test for $base/architecture/share/config.cache before trying to access it
12 years ago
Christian Wiese
8e7d815773
lib/functions.in: fixed .la file correction when moving them to /usr
This fixes the case the 'dependency_libs' entry had more than one .la file
without /usr prefix listed.
By using the former simple sed pattern only the first listed path was
corrected.
11 years ago
Christian Wiese
9d7b6b9b2d
lib/functions.in: improve postflist_static_lib() to also move .o files from /lib -> /usr/lib
libc's install special object files like Scrt1.o, crt1.o, crti.o and crtn.o.
This files are not needed at runtime, so it makes no sense to keep them in
/lib.
11 years ago
Christian Wiese
994a79048f
lib/function.in: fixed to not prefix CMAKE_INSTALL_PREFIX with $root
12 years ago
Christian Wiese
c6ca6c18fb
lib/functions.in: fixed split_debug_files() to only process dynamically linked ELF binaries
11 years ago
Christian Wiese
142b3e752f
lib/functions.in: fixed split_debug_files() to preserve file ownership when creating a copy we are going strip
11 years ago
Christian Wiese
dfccac3194
debug split: move check for enabling debug symbol splitting from functions.in into Build-Pkg
The check will be run right after the postinstall hook and before
creating the flist.
11 years ago
Christian Wiese
06ffbd894d
lib/functions.in: improved split_debug_files() to chmod 644 the generated debug info file
11 years ago
Christian Wiese
f348305f97
lib/functions.in: improved split_debug_files() to check earlier if we need to skip the processing of the file according to the file name
11 years ago
Christian Wiese
b5c9e1e435
lib/functions.in: fixed split_debug_files() to skip processing of static libary archives
11 years ago
Christian Wiese
b11fb1269c
implement splitting of debug symbols into separate files
11 years ago
Christian Wiese
671b4a4e80
sde-download: added xz support
13 years ago
Christian Wiese
f4b58d5e38
lib/functions.in: improved cmake handling to be able to not build within a dedicated build directory
13 years ago
Alejandro Mery
a5b1d11e8d
sde-build: fix postflist_static_lib() to not use readlink -f preserving the original target of the link
13 years ago
Alejandro Mery
dc92461a1d
sde-build: changed .so symlink correction to use relative_path()
13 years ago
Alejandro Mery
d6f4247f6a
sde-build: extended to keep record of symlink corrections in the build log
13 years ago
Alejandro Mery
247847f5d4
sde-build: show broken links messages as errors
13 years ago
Alejandro Mery
1e4c00932e
sde-build: turn all absolute symlinks into relative
13 years ago
Alejandro Mery
3a2953f6b6
functions: introduced relative_path() returning a relative way to reach one path from another
13 years ago
Alejandro Mery
4a1ac2ba2c
functions: introduced pseudo_realpath() sanitizing paths
13 years ago
Alejandro Mery
7a6a96548d
sde-build: warn about absolute, dirty and broken symlinks
13 years ago
Alejandro Mery
bab7a358f2
sde-build: sightly cleaned postflist_static_lib(), fixed a bug and warn about resulting broken symlinks (still needs more fixing)
13 years ago
Alejandro Mery
af18b8dd91
sde-build: check for broken symlinks on postflist
13 years ago
Christian Wiese
5bd7dda7c3
lib/functions.in: improved python build handling by introducing $pybuildopt and $pyinstopt
13 years ago
Christian Wiese
b4f594bc53
lib/functions.in: fixed perl build handling to always install into 'vendor' even if a package reseted plconfopt
13 years ago
Christian Wiese
01ecdbde33
lib/functions.in: improved scons build handling to not run a separate 'scons install' which will lead to have the sources build twice
13 years ago
Christian Wiese
06fa539a8e
lib/functions.in: improved to move .pc files to automatically to /usr/lib/pkgconfig when libdir=/lib
13 years ago
Christian Wiese
16e13e5bcd
lib/functions.in: fixed to only move .a files straight into /usr/lib
13 years ago
Christian Wiese
220b9f381e
lib/functions.in: fixed to not create compat symlinks for 'foo.so' if 'foo.la' was detected and processed
13 years ago
Christian Wiese
179f3d40e2
lib/functions.in: improved to move '/lib/foo.so' symlinks into '/usr/lib' because they are only needed at compile time
13 years ago
Christian Wiese
aabb0ba832
lib/functions.in: fixed automatic perl package handling to install into the vendor directory as this is the right place for perl packages provided by distributions
Note:
See: http://search.cpan.org/dist/perl/INSTALL#Installation_Directories
13 years ago
Christian Wiese
1501675109
lib/functions.in: add -DCMAKE_LIBRARY_PATH="$libdir" to initial cmakeopt
Note:
This was formerly defined in 'develop/cmake/cmake-conf.in'
14 years ago
Christian Wiese
c3105cfa15
lib/functions.in: added support for scons based builds
14 years ago
Christian Wiese
c8c8c16f38
lib/functions.in: added support for 'waf' build system
Following new variables have been introduced and are usable in conf files:
runwaf set to '0' if you want to skip running 'waf' build system.
wafscript script to run for waf based builds
(default = './waf')
wafconfopt options for 'waf configure'
(default = 'configure --prefix=/$prefix')
wafbuildopt options for 'waf build'
(default = 'build')
wafinstopt options for 'waf install'
(default = 'install --destdir=$root --force')
14 years ago
Christian Wiese
6cc7ce72a8
lib/functions.in: check if the path exists but it doesn't have to be a symlink explicitely
14 years ago
Christian Wiese
d657e32476
lib/functions.in: improved createprefix_function() to create a compat symlink lib -> lib64
14 years ago
Christian Wiese
74b561d388
lib/functions.in: changed createprefix_function() to use dedicated variables $foodir for the iteration and $dir for the expanded path
14 years ago
Christian Wiese
22b8cd2a5c
lib/functions.in: introduced createprefix_function() - factoring out the createprefix handling into its own function
14 years ago
Christian Wiese
34e384470f
lib/functions.in: changed to set lib64 as libdir for all 64 bit architectures no matter if multilib or not
14 years ago
Alejandro Mery
f24f4d508b
sde-build-pkg: improved autogen code to pass ACLOCAL_FLAGS to aclocal
14 years ago
Christian Wiese
dbafffc9c9
added cmake detection for packages
Note:
The current implementation can be summarized like this:
- check if $runcmake is set to '1' and if there is no Makefile but a
CMakeLists.txt file inside of the srcdir
- create a dedicated 'build' directory and cd into it
- run cmake using the provided $cmakeopt
14 years ago
Christian Wiese
450414440f
lib/functions.in: do not do static lib corrections at toolchain stage because it is messing .so symlinks
NOTE: This issue probably needs more research!
15 years ago
Christian Wiese
9eaeac0438
lib/functions.in: explicitely injecting --build=$arch_build configure option at toolchain stage
15 years ago
Alejandro Mery
5deeccbdae
pkgprefix: fixed bug in prefix request with -r, and sightly cleaned code
14 years ago
Alejandro Mery
72bec0ae4b
functions: extended build_this_package() to support $confdir/$srctar/ for in-tree source code
15 years ago
Alejandro Mery
91585244fb
functions: enhanced pkgprefix() to prepend $root (real absolute path) when -r is passed
15 years ago
Alejandro Mery
0bb9416b33
functions: fixed to pass empty instead of / to confopt and makeopt when prefix is empty
15 years ago
Aldas Nabazas
92c0c936dc
added version 4.x for bash supported versions
15 years ago