summaryrefslogtreecommitdiff
path: root/scripts/include/common.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-05-06Allow use configurable make by variable MAKE.Andrei Karas1-8/+12
This need for systems where make binary is not gnu make, but make file created for gnu make only.
2017-10-17Add ability to build packages from subdir.Andrei Karas1-6/+12
2017-09-18Clean build dir only on starting new build.Andrei Karas1-5/+9
2017-09-17Add scripts resetsrc.sh and resetsrcall.sh for reset local changes in ↵Andrei Karas1-0/+30
packages sources.
2017-09-09Remove wrong flag ENV_LIBGL_DRIVERS_PATH from created env files.Andrei Karas1-1/+0
2017-09-07Add environment variable support in packages: ENV_LIBGL_DRIVERS_PATHAndrei Karas1-0/+2
Also add ENV_LIBGL_DRIVERS_PATH into mesa package.
2017-09-06Fix escaped configure and init commands in scripts.Andrei Karas1-5/+5
2017-08-29Fix parameter escaping in generated env files.Andrei Karas1-2/+2
2017-02-19Add script for update all downloaded sources.Andrei Karas1-0/+13
New script: updatesrcall.sh
2017-02-17Add script for create environment file from more than one package.Andrei Karas1-0/+37
New script name: createenvs.sh envname package1 [package2 ...] Example: ./createenvs.sh sdl1 SDL SDL_image SDL_ttf SDL_net SDL_gfx SDL_mixer
2017-02-17Add support for environment variable jobs.Andrei Karas1-2/+12
It set jobs number for make. If jobs unset, it autodetected based on number of cpu cores.
2017-02-03Add support for include command in packages. for include other package ↵Andrei Karas1-0/+4
definition.
2017-02-03Add support for script variables for override package path variabled.Andrei Karas1-14/+22
New variables: OVERRIDE_ENV_NAME Example: OVERRIDE_ENV_MANPATH="/dir"
2017-02-03Add support for CPPFLAGS in packages.Andrei Karas1-1/+7
New function env_cppflags_path New variable ENV_CPPFLAGS_PATH
2017-02-02Add support for LDFLAGS in packages.Andrei Karas1-1/+22
New function env_ldflags_path New variable ENV_LDFLAGS_PATH
2017-02-02Add support for ACLOCAL_PATH in packages.Andrei Karas1-0/+6
New function env_aclocal_path New variable ENV_ACLOCAL_PATH
2017-01-28Ignore errors in function run_autoreconf.Andrei Karas1-1/+1
2017-01-28Fix previous error again.Andrei Karas1-1/+1
2017-01-28Fix updatesrc script if selected not branch but tag.Andrei Karas1-3/+2
2017-01-28Fix updating git branches.Andrei Karas1-0/+5
2017-01-28Remove function package_build from packages, and use shared package_build ↵Andrei Karas1-3/+44
based on variables.
2017-01-27In packages move configure and cmake flags into variable CONFIGURE_FLAGS.Andrei Karas1-4/+14
2017-01-27In packages move branch name into DEFAULT_BRANCH variable.Andrei Karas1-2/+13
By default this variable set to "master".
2017-01-27Replace in packages package_use function to ENV_* variables.Andrei Karas1-18/+35
Impliment default package_use function for use ENV_* variables.
2017-01-27Add package variable SRCURL.Andrei Karas1-0/+4
Replace package_get_source in existing packages to common function.
2017-01-27Add package varible SRCTYPE. It set src storage type. For now git or hg.Andrei Karas1-0/+23
By default it set to git.
2017-01-26Add support for command run_src_script inside package_build.Andrei Karas1-0/+7
It allow run any command inside package src dir.
2017-01-26Add support in source tree compilation.Andrei Karas1-0/+7
Some projects like curl look like cant be build outside of source tree. Update curl package.
2017-01-25Add support for environmenr variable envname.Andrei Karas1-1/+5
It set part of name for created environment file like this: env/run{$envname}.sh By default used package name.
2017-01-24Add other commands into ci test.Andrei Karas1-2/+2
2017-01-24Add some more error checks and escapes.Andrei Karas1-15/+18
2017-01-24Add error checks into common.shAndrei Karas1-0/+34
2017-01-24Fix MANPATH variable in generated environments.Andrei Karas1-1/+1
2017-01-24Create env, bin, tmp directories if it not exists.Andrei Karas1-0/+10
2017-01-24Initial commit.Andrei Karas1-0/+154