midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame build.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 6e940c
#
Lucio Andrés Illanes Albornoz (arab, vxp) 6e940c
# WARNING: Do _NOT_ use whitespaces (` ') or tab (`	')
Lucio Andrés Illanes Albornoz (arab, vxp) 6e940c
# characters in any of the variables below save for MAKEFLAGS,
Lucio Andrés Illanes Albornoz (arab, vxp) 6e940c
# PATH, and TIMESTAMP_FMT.
Lucio Andrés Illanes Albornoz (arab, vxp) 6e940c
#
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
# $PREFIX_{NATIVE,TARGET} and $WORKDIR must be immediately
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
# beneath $PREFIX. $PREFIX must be o+rwx. The variables mentioned
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
# should not be forward slash-terminated.
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
#
Lucio Andrés Illanes Albornoz (arab, vxp) 6e940c
lalbornoz 340f4c
: ${ARCH:=nt64};
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
: ${CFLAGS_LVL0:=-O0};
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
: ${CFLAGS_LVL1:=-g3 -O0};
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
: ${CFLAGS_LVL2:=-g3 -O0};
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
: ${CFLAGS_LVL3:=-g3 -O0};
lalbornoz 340f4c
: ${GITROOT:=git://midipix.org};
Lucio Andrés Illanes Albornoz (arab, vxp) 999fdc
: ${GITROOT_HEAD:=git://midipix.org};
lalbornoz 340f4c
: ${HOST_NATIVE:=x86_64-nt64-midipix};
Lucio Andrés Illanes Albornoz (arab, vxp) 31dc75
: ${LOG_MSG_FAIL_COLOUR:=91};
Lucio Andrés Illanes Albornoz (arab, vxp) 31dc75
: ${LOG_MSG_INFO_COLOUR:=93};
Lucio Andrés Illanes Albornoz (arab, vxp) 31dc75
: ${LOG_MSG_SUCC_COLOUR:=92};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PREFIX:=${HOME}/midipix};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PREFIX_NATIVE:=${PREFIX}/native};
lalbornoz 340f4c
: ${TARGET:=x86_64-nt64-midipix};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PREFIX_TARGET:=${PREFIX}/${TARGET}};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${WORKDIR:=${PREFIX}/tmp};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
MAKEFLAGS="-j8${MAKEFLAGS:+ ${MAKEFLAGS}}";
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
export PATH="${PREFIX}/bin${PATH:+:${PATH}}";
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
TIMESTAMP_FMT="%Y/%m/%d %H:%M:%S";
lalbornoz 340f4c
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_BASH_CONFIGURE_EXTRA_ARGS:=--without-bash-malloc};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_BASH_SHA256SUM:=afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_BASH_VERSION:=4.3};
Lucio Andrés Illanes Albornoz (arab, vxp) 680d83
: ${PKG_BASH_PATCHES_EXTRA:=https://ftp.gnu.org/gnu/bash/bash-${PKG_BASH_VERSION}-patches/};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_BASH_URL:=https://ftp.gnu.org/gnu/bash/bash-${PKG_BASH_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
: ${PKG_BINUTILS_CONFIGURE_EXTRA_ARGS:=--with-libelf=${PREFIX_NATIVE} --with-gmp=${PREFIX_NATIVE} --with-mpc=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE} --with-sysroot=/};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_BINUTILS_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_BINUTILS_VERSION:=2.24.51};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_BINUTILS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_VERSION}.tar.bz2};
Lucio Andrés Illanes Albornoz (arab, vxp) ce7607
: ${PKG_BINUTILS_HOST_BUILD_TYPE:=cross};
Lucio Andrés Illanes Albornoz (arab, vxp) ce7607
: ${PKG_BINUTILS_HOST_CONFIGURE_ARGS:=--disable-werror --prefix=${PREFIX} --with-sysroot=${PREFIX_TARGET}};
Lucio Andrés Illanes Albornoz (arab, vxp) 1d3841
: ${PKG_BINUTILS_HOST_NO_DESTDIR:=1};
Lucio Andrés Illanes Albornoz (arab, vxp) ce7607
: ${PKG_BINUTILS_HOST_NO_CONFIG_CACHE:=1};
Lucio Andrés Illanes Albornoz (arab, vxp) ce7607
: ${PKG_BINUTILS_HOST_NO_LIBTOOL_MIDIPIX:=1};
Lucio Andrés Illanes Albornoz (arab, vxp) ce7607
: ${PKG_BINUTILS_HOST_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
Lucio Andrés Illanes Albornoz (arab, vxp) ce7607
: ${PKG_BINUTILS_HOST_VERSION:=2.24.51};
Lucio Andrés Illanes Albornoz (arab, vxp) ce7607
: ${PKG_BINUTILS_HOST_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_VERSION}.tar.bz2};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_COREUTILS_SHA256SUM:=ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_COREUTILS_VERSION:=8.23};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_COREUTILS_URL:=https://ftp.gnu.org/gnu/coreutils/coreutils-${PKG_COREUTILS_VERSION}.tar.xz};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_DIFFUTILS_SHA256SUM:=a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_DIFFUTILS_VERSION:=3.3};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_DIFFUTILS_URL:=https://ftp.gnu.org/gnu/diffutils/diffutils-${PKG_DIFFUTILS_VERSION}.tar.xz};
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
: ${PKG_FINDUTILS_CFLAGS:=-Dendpwent=setpwent};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_FINDUTILS_SHA256SUM:=0de3cf625a5c9f154eee3171e072515ffdde405244dd00502af617ac57b73ae2};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_FINDUTILS_VERSION:=4.5.14};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_FINDUTILS_URL:=http://alpha.gnu.org/gnu/findutils/findutils-${PKG_FINDUTILS_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_GAWK_SHA256SUM:=e3cf55e91e31ea2845f8338bedd91e40671fc30e4d82ea147d220e687abda625};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_GAWK_VERSION:=4.1.3};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_GAWK_URL:=https://ftp.gnu.org/gnu/gawk/gawk-${PKG_GAWK_VERSION}.tar.xz};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_GCC_VERSION:=4.6.4};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_GMP_CONFIGURE_EXTRA_ARGS:=--disable-assembly};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_GMP_PREFIX_EXTRA:=${PREFIX_TARGET}};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_GMP_SHA256SUM:=752079520b4690531171d0f4532e40f08600215feefede70b24fabdc6f1ab160};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_GMP_VERSION:=5.1.3};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_GMP_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_VERSION}.tar.bz2};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_GREP_SHA256SUM:=ca91d22f017bfcb503d4bc3b44295491c89a33a3df0c3d8b8614f2d3831836eb};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_GREP_VERSION:=2.22};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_GREP_URL:=https://ftp.gnu.org/gnu/grep/grep-${PKG_GREP_VERSION}.tar.xz};
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
: ${PKG_GZIP_CC:=${HOST_NATIVE}-gcc};
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
: ${PKG_GZIP_CFLAGS:="-g3 -O0 -I${PREFIX_NATIVE}/include"};
Lucio Andrés Illanes Albornoz (arab, vxp) d30b8f
: ${PKG_GZIP_LDFLAGS:=--sysroot=${PREFIX_NATIVE}};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_GZIP_SHA256SUM:=1ca41818a23c9c59ef1d5e1d00c0d5eaa2285d931c0fb059637d7c0cc02ad967};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_GZIP_VERSION:=1.2.4};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_GZIP_URL:=https://ftp.gnu.org/gnu/gzip/gzip-${PKG_GZIP_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_LIBELF_CC:=${HOST_NATIVE}-gcc};
Lucio Andrés Illanes Albornoz (arab, vxp) 1d3841
: ${PKG_LIBELF_NO_DESTDIR:=1};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_LIBELF_NO_LIBTOOL_MIDIPIX:=1};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_LIBELF_PREFIX:=${PREFIX_NATIVE}};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_LIBELF_SHA256SUM:=591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_LIBELF_VERSION:=0.8.13};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_LIBELF_URL:=http://www.mr511.de/software/libelf-${PKG_LIBELF_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_LIBZ_SHA256SUM:=33e65f22ec3d3e3f87436e53f82eb114054cd3aa373dc0480625dd92806fd9a0};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_LIBZ_VERSION:=1.2.8.2015.05.20};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_LIBZ_URL:=https://sortix.org/libz/release/libz-${PKG_LIBZ_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_MAKE_SHA256SUM:=f3e69023771e23908f5d5592954d8271d3d6af09693cecfd29cee6fde8550dc8};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_MAKE_VERSION:=3.81};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_MAKE_URL:=https://ftp.gnu.org/gnu/make/make-${PKG_MAKE_VERSION}.tar.bz2};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_MPC_CONFIGURE_EXTRA_ARGS:=--with-gmp=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE}};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_MPC_PREFIX_EXTRA:=${PREFIX_TARGET}};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_MPC_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_MPC_VERSION:=1.0.1};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_MPC_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_MPFR_CONFIGURE_EXTRA_ARGS:=--with-gmp=${PREFIX_NATIVE}};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_MPFR_PREFIX_EXTRA:=${PREFIX_TARGET}};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_MPFR_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_MPFR_VERSION:=3.1.2};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_MPFR_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_VERSION}.tar.bz2};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_MUSL_SHA256SUM:=720b83c7e276b4b679c0bffe9509340d5f81fd601508e607e708177df0d31c0e};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_MUSL_VERSION:=1.1.12};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_MUSL_URL:=http://www.musl-libc.org/releases/musl-${PKG_MUSL_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_PATCH_SHA256SUM:=59c29f56faa0a924827e6a60c6accd6e2900eae5c6aaa922268c717f06a62048};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_PATCH_VERSION:=2.7};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_PATCH_URL:=https://ftp.gnu.org/gnu/patch/patch-${PKG_PATCH_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_SED_SHA256SUM:=f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7};
Lucio Andrés Illanes Albornoz (arab, vxp) bd43d0
: ${PKG_SED_VERSION:=4.2.2};
Lucio Andrés Illanes Albornoz (arab, vxp) c49754
: ${PKG_SED_URL:=https://ftp.gnu.org/gnu/sed/sed-${PKG_SED_VERSION}.tar.bz2};
lalbornoz 340f4c
Lucio Andrés Illanes Albornoz (arab, vxp) 999fdc
: ${PKG_DALIST_URL:=${GITROOT_HEAD}/dalist};
Lucio Andrés Illanes Albornoz (arab, vxp) 999fdc
: ${PKG_NTAPI_URL:=${GITROOT_HEAD}/ntapi};
Lucio Andrés Illanes Albornoz (arab, vxp) 999fdc
: ${PKG_NTCON_URL:=${GITROOT_HEAD}/ntcon};
Lucio Andrés Illanes Albornoz (arab, vxp) 999fdc
: ${PKG_NTCTTY_URL:=${GITROOT_HEAD}/ntctty};
Lucio Andrés Illanes Albornoz (arab, vxp) 999fdc
: ${PKG_PEMAGINE_URL:=${GITROOT_HEAD}/pemagine};
Lucio Andrés Illanes Albornoz (arab, vxp) 999fdc
: ${PKG_PSXSCL_URL:=${GITROOT_HEAD}/psxscl};
Lucio Andrés Illanes Albornoz (arab, vxp) 999fdc
: ${PKG_PSXTYPES_URL:=${GITROOT_HEAD}/psxtypes};
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
lalbornoz 340f4c
# vim:filetype=sh