diff --git a/006.musl.build b/006.musl.build index 201eb59..961746b 100644 --- a/006.musl.build +++ b/006.musl.build @@ -5,7 +5,7 @@ if is_build_script_done finished; then elif [ "x${3}" = "xno-complex" ]; then # Musl: build (no-complex) _install=install_no_complex; - set_build_dir musl-${PKG_MUSL_VERSION} ${TARGET}-${3}; + set_build_dir musl-${PKG_MUSL_VERSION}-${3} cross; fetch http://www.musl-libc.org/releases/musl-${PKG_MUSL_VERSION}.tar.gz \ ${PKG_MUSL_SHA256SUM}; if ! is_build_script_done extracted; then @@ -22,7 +22,7 @@ elif [ "x${3}" = "xnative" ]; then else # Musl: build (full) _install=install; - set_build_dir musl-${PKG_MUSL_VERSION} ${TARGET}; + set_build_dir musl-${PKG_MUSL_VERSION} cross; fi; if ! is_build_script_done configured; then rm_if_exists -m -c ${_build_dir}; diff --git a/007.gcc.full.build b/007.gcc.full.build index 68f7a15..999dd8b 100644 --- a/007.gcc.full.build +++ b/007.gcc.full.build @@ -5,7 +5,7 @@ if is_build_script_done finished; then elif [ "x${3}" = "xruntime" ]\ || [ "x${3}" = "xfull" ]; then export CFLAGS="${GCCFLAGS}" CXXFLAGS="${GCCFLAGS}"; - set_build_dir cbb-gcc-${PKG_GCC_VERSION} ${TARGET}; + set_build_dir cbb-gcc-${PKG_GCC_VERSION} cross; cd ${_build_dir}; if [ "x${3}" = "xruntime" ]; then # GCC, compiler runtime. @@ -39,7 +39,7 @@ elif [ "x${3}" = "xruntime" ]\ else if [ "x${3}" = "xstage1" ]; then # GCC, stage1. - set_build_dir cbb-gcc-${PKG_GCC_VERSION} ${TARGET}; + set_build_dir cbb-gcc-${PKG_GCC_VERSION} cross; export cbb_ldflags_for_target=--sysroot=${PREFIX_TARGET} \ cbb_sysroot_for_libgcc=${PREFIX_TARGET} \ cbb_target=${TARGET} \ diff --git a/100.perk.build b/100.perk.build index f966813..c58eddc 100644 --- a/100.perk.build +++ b/100.perk.build @@ -2,13 +2,14 @@ if is_build_script_done finished; then exit 212; else fetch_git perk ${GITROOT}/perk; + set_build_dir ${2} native; fi; if ! is_build_script_done configured1; then - rm_if_exists -m -c perk-build; + rm_if_exists -m -c ${_build_dir}; ../perk/configure; set_build_script_done configured1 -built1; else - cd perk-build; + cd ${_build_dir}; fi; if ! is_build_script_done built1; then make; @@ -18,12 +19,13 @@ if ! is_build_script_done installed1; then make DESTDIR=${PREFIX} install; set_build_script_done installed1 -configured2; fi; +set_build_dir ${2} cross; if ! is_build_script_done configured2; then - rm_if_exists -m -c ../perk-build-${TARGET}; + rm_if_exists -m -c ../${_build_dir}; ../perk/configure --target=${TARGET}; set_build_script_done configured2 -built2; else - cd ../perk-build-${TARGET}; + cd ../${_build_dir}; fi; if ! is_build_script_done built2; then make; diff --git a/101.gmp.build b/101.gmp.build index 1a09328..61e874d 100644 --- a/101.gmp.build +++ b/101.gmp.build @@ -1,30 +1,11 @@ -libelf_install_post() { - rm -f lib/libelf.def || return 1; - echo EXPORTS > lib/libelf.def || return 2; - perk -e lib/libelf.so >> lib/libelf.def || return 3; - ${HOST_NATIVE}-dlltool \ - --output-lib lib/libelf.lib.a \ - --dllname libelf.so \ - --input-def lib/libelf.def || return 4; - cp lib/libelf.lib.a ${PREFIX}/lib || return 5; -}; - -parse_with_pkg_name ${2} \ - https://gmplib.org/download/gmp/gmp-${PKG_GMP_VERSION}.tar.bz2 \ - _configure_extra_args=--disable-assembly:_prefix_extra=${PREFIX_TARGET} \ - ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_VERSION}.tar.bz2 \ - _configure_extra_args=--with-gmp=${PREFIX_NATIVE}:_prefix_extra=${PREFIX_TARGET} \ - ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_VERSION}.tar.gz \ - _configure_extra_args=--with-gmp=${PREFIX_NATIVE},--with-mpfr=${PREFIX_NATIVE}:_prefix_extra=${PREFIX_TARGET}\ - http://www.mr511.de/software/libelf-${PKG_LIBELF_VERSION}.tar.gz \ - _no_libtool_midipix=1:_prefix=${PREFIX_NATIVE}:CC=${HOST_NATIVE}-gcc:DESTDIR= \ - ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_VERSION}.tar.bz2 \ - _configure_extra_args=--with-libelf=${PREFIX_NATIVE},--with-gmp=${PREFIX_NATIVE},--with-mpc=${PREFIX_NATIVE},--with-mpfr=${PREFIX_NATIVE},--with-sysroot=/; - +parse_with_pkg_name ${2} gmp mpfr mpc libelf binutils; +[ -n "${_pkg_CC}" ] && export CC="${_pkg_CC}"; +[ -n "${_pkg_CFLAGS}" ] && export CFLAGS="${_pkg_CFLAGS}"; if is_build_script_done finished; then exit 212; else fetch ${_pkg_url} ${_pkg_sha256sum}; + set_build_dir ${_pkg_subdir} native; fi; if ! is_build_script_done extracted; then rm_if_exists ${_pkg_subdir}; @@ -34,22 +15,21 @@ fi; if ! is_build_script_done patched; then patch -d ${_pkg_subdir} -p1 \ < portage/${_pkg_subdir}.midipix.patch; - if [ ${_no_libtool_midipix:-0} -eq 0 ]; then - cp portage/libtool.midipix ${_pkg_subdir}/; + if [ ${_pkg_no_libtool_midipix:-0} -eq 0 ]; then + cp -a portage/libtool.midipix ${_pkg_subdir}/; fi; set_build_script_done patched -configured; fi; if ! is_build_script_done configured; then - rm_if_exists -c -m ${_pkg_subdir}-build-native${3:+-${3}}; - run_configure_with_extra_args \ + rm_if_exists -m -c ${_build_dir}; ../${_pkg_subdir}/configure \ - "${_configure_extra_args}" \ + ${_pkg_configure_extra_args} \ --host=${HOST_NATIVE} \ - --prefix=${_prefix:-/} \ + --prefix=${_pkg_prefix:-/} \ --target=${TARGET}; set_build_script_done configured -built; else - cd ${_pkg_subdir}-build-native${3:+-${3}}; + cd ${_build_dir}; fi; if ! is_build_script_done built; then make; @@ -59,9 +39,21 @@ if ! is_build_script_done installed1; then make DESTDIR=${PREFIX_NATIVE} install; set_build_script_done configured installed1 -installed2 -finished; fi; -if [ -n ${_prefix_extra} ]; then +if [ -n "${_pkg_prefix_extra}" ]; then + if ! is_build_script_done installed2; then + make DESTDIR=${_pkg_prefix_extra} install; + set_build_script_done configured installed2 -finished; + fi; +elif [ "x${_pkg_name}" = "xlibelf" ]; then if ! is_build_script_done installed2; then - make DESTDIR=${_prefix_extra} install; + rm -f lib/libelf.def; + echo EXPORTS > lib/libelf.def; + perk -e lib/libelf.so >> lib/libelf.def; + ${HOST_NATIVE}-dlltool \ + --output-lib lib/libelf.lib.a \ + --dllname libelf.so \ + --input-def lib/libelf.def; + cp lib/libelf.lib.a ${PREFIX}/lib; set_build_script_done configured installed2 -finished; fi; fi; diff --git a/200.coreutils.build b/200.coreutils.build index 2eaf442..89f0317 100644 --- a/200.coreutils.build +++ b/200.coreutils.build @@ -1,29 +1,21 @@ export CFLAGS="${CFLAGS_PACKAGES}"; -parse_with_pkg_name ${2} \ - https://ftp.gnu.org/gnu/coreutils/coreutils-${PKG_COREUTILS_VERSION}.tar.xz "" \ - https://ftp.gnu.org/gnu/diffutils/diffutils-${PKG_DIFFUTILS_VERSION}.tar.xz "" \ - http://alpha.gnu.org/gnu/findutils/findutils-${PKG_FINDUTILS_VERSION}.tar.gz \ - "CFLAGS=${CFLAGS:+${CFLAGS} }-Dendpwent=setpwent" \ - https://ftp.gnu.org/gnu/patch/patch-${PKG_PATCH_VERSION}.tar.gz "" \ - https://ftp.gnu.org/gnu/gawk/gawk-${PKG_GAWK_VERSION}.tar.xz "" \ - https://ftp.gnu.org/gnu/bash/bash-${PKG_BASH_VERSION}.tar.gz \ - _configure_extra_args=--without-bash-malloc \ - https://ftp.gnu.org/gnu/make/make-${PKG_MAKE_VERSION}.tar.bz2 "" \ - https://ftp.gnu.org/gnu/grep/grep-${PKG_GREP_VERSION}.tar.xz "" \ - https://ftp.gnu.org/gnu/sed/sed-${PKG_SED_VERSION}.tar.bz2 "" \ - ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_VERSION}.tar.bz2 ""; - +parse_with_pkg_name ${2} \ + coreutils diffutils findutils patch \ + gawk bash make grep sed binutils; if is_build_script_done finished; then exit 212; else fetch ${_pkg_url} ${_pkg_sha256sum}; if [ "x${_pkg_name}" = "xbinutils" ]\ && [ "x${3}" = "xhost" ]; then - _configure_args="--disable-werror,--prefix=${PREFIX},--with-sysroot=${PREFIX_TARGET}"; - _no_config_cache=${_no_prefix:=1}; _target=${TARGET}; + _no_config_cache=1; _no_destdir=1; + _configure_args="--disable-werror --prefix=${PREFIX} --with-sysroot=${PREFIX_TARGET}"; + set_build_dir ${_pkg_subdir} cross; else - _configure_args="-C,--host=${HOST_NATIVE},--prefix=${_configure_extra_args:+,${_configure_extra_args}}"; + _configure_args="-C --host=${HOST_NATIVE} --prefix="; + set_build_dir ${_pkg_subdir} native; fi; + _configure_args="${_configure_args}${_pkg_configure_extra_args:+ ${_pkg_configure_extra_args}}"; fi; if ! is_build_script_done extracted; then rm_if_exists ${_pkg_subdir}; @@ -36,23 +28,21 @@ if ! is_build_script_done patched; then set_build_script_done patched -configured; fi; if ! is_build_script_done configured; then - rm_if_exists -c -m ${_pkg_subdir}-build-${_target:-native}; + rm_if_exists -m -c ${_build_dir}; [ ${_no_config_cache:-0} -eq 0 ] &&\ cp -a ../portage/config.cache .; - run_configure_with_extra_args \ - ../${_pkg_subdir}/configure \ - "${_configure_args}" \ - --target=${TARGET}; + ../${_pkg_subdir}/configure \ + ${_configure_args} --target=${TARGET}; set_build_script_done configured -built; else - cd ${_pkg_subdir}-build-${_target:-native}; + cd ${_build_dir}; fi; if ! is_build_script_done built; then make ${MAKEFLAGS}; set_build_script_done built -installed; fi; if ! is_build_script_done installed; then - if [ ${_no_prefix:-0} -eq 0 ]; then + if [ ${_no_destdir:-0} -eq 0 ]; then make ${MAKEFLAGS} DESTDIR=${PREFIX_NATIVE} install; else make ${MAKEFLAGS} install; diff --git a/207.libz.build b/207.libz.build index 2c29870..4afb479 100644 --- a/207.libz.build +++ b/207.libz.build @@ -18,7 +18,7 @@ if ! is_build_script_done extracted; then set_build_script_done extracted -patched; fi; if ! is_build_script_done configured; then - set_build_dir ${_pkg_fname%%-*} ${TARGET}; + set_build_dir ${_pkg_fname%%-*} native; rm_if_exists -c -m ${_build_dir}; cp -a ../portage/config.cache .; CFLAGS="${CFLAGS_PACKAGES}" \ @@ -27,6 +27,8 @@ if ! is_build_script_done configured; then --prefix= \ --target=${TARGET}; set_build_script_done configured -built; +else + cd ${_build_dir}; fi; if ! is_build_script_done built; then if [ "x${3}" = "xlibz" ]; then diff --git a/build.sh b/build.sh index fbb5e7b..736222d 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,7 @@ { unset AR ARFLAGS CC CFLAGS CXX CXXFLAGS LD LDFLAGS; . ./build.vars; . ./build.subr; -check_prereqs git make openssl sed tar wget; +check_prereqs git make openssl sed tar tr wget; log_msg info "Build started by ${USER}@$(hostname)."; #trap (set -o errexit; mkdir -p ${PREFIX} ${WORKDIR}); diff --git a/build.subr b/build.subr index 2020d21..c7f05bb 100644 --- a/build.subr +++ b/build.subr @@ -81,19 +81,23 @@ log_msg() { parse_with_pkg_name() { _pkg_name=${1}; shift; while [ $# -ge 0 ]; do - _pkg_url=${1}; _envvs="${2}"; _pkg_fname=${_pkg_url##*/}; - if [ "x${_pkg_fname%%-*}" = "x${_pkg_name}" ]; then - _IFS="${IFS}"; IFS=:; - for _envv in ${_envvs}; do - export ${_envv}; - done; IFS="${_IFS}"; unset _envvs _envv; + if [ "x${_pkg_name}" = "x${1}" ]; then + _pkg_NAME=$(echo "${_pkg_name}" | tr a-z A-Z); + eval _pkg_configure_extra_args=\"\${PKG_${_pkg_NAME}_CONFIGURE_EXTRA_ARGS}\"\ + _pkg_no_libtool_midipix=\${PKG_${_pkg_NAME}_NO_LIBTOOL_MIDIPIX}\ + _pkg_prefix=\${PKG_${_pkg_NAME}_PREFIX}\ + _pkg_prefix_extra=\${PKG_${_pkg_NAME}_PREFIX_EXTRA}\ + _pkg_sha256sum=\${PKG_${_pkg_NAME}_SHA256SUM}\ + _pkg_url=\${PKG_${_pkg_NAME}_URL}\ + _pkg_version=\${PKG_${_pkg_NAME}_VERSION}\ + _pkg_CC=\${PKG_${_pkg_NAME}_CC}\ + _pkg_CFLAGS=\${PKG_${_pkg_NAME}_CFLAGS}\ + _pkg_DESTDIR=\${PKG_${_pkg_NAME}_DESTDIR}; + _pkg_fname=${_pkg_url##*/}; _pkg_subdir=${_pkg_fname%%.tar*}; - eval _pkg_sha256sum=\${PKG_$(echo "${_pkg_name}" |\ - tr a-z A-Z)_SHA256SUM}; - return; - fi; shift 2; - done; - unset _pkg_name _pkg_url _envvs _pkg_fname _envv _IFS _pkg_subdir; + return 0; + fi; shift; + done; return 1; }; rm_if_exists() { @@ -111,14 +115,8 @@ rm_if_exists() { fi; }; -run_configure_with_extra_args() { - _IFS="${IFS}"; IFS=","; _script=${1}; _extra_args="${2}"; - shift 2; ${_script} "${@}" ${_extra_args}; IFS="${_IFS}"; - unset _script _extra_args; -}; - set_build_dir() { - export _build_dir=${1}-build-${2}; + _build_dir=${1}-${2}-${TARGET}; }; set_env_vars() { diff --git a/build.vars b/build.vars index f12a94c..85f0012 100644 --- a/build.vars +++ b/build.vars @@ -8,52 +8,80 @@ : ${CFLAGS_PACKAGES:=-g3 -O0}; : ${GITROOT:=git://midipix.org}; : ${HOST_NATIVE:=x86_64-nt64-midipix}; +: ${PREFIX:=${HOME}/midipix}; +: ${PREFIX_NATIVE:=${PREFIX}/native}; : ${TARGET:=x86_64-nt64-midipix}; +: ${PREFIX_TARGET:=${PREFIX}/${TARGET}}; +: ${WORKDIR:=${PREFIX}/tmp}; +MAKEFLAGS="-j8${MAKEFLAGS:+ ${MAKEFLAGS}}"; +export PATH="${PREFIX}/bin${PATH:+:${PATH}}"; +TIMESTAMP_FMT="%Y/%m/%d %H:%M:%S"; +: ${PKG_BASH_CONFIGURE_EXTRA_ARGS:=--without-bash-malloc}; : ${PKG_BASH_SHA256SUM:=afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4}; : ${PKG_BASH_VERSION:=4.3}; +: ${PKG_BASH_URL:=https://ftp.gnu.org/gnu/bash/bash-${PKG_BASH_VERSION}.tar.gz}; : ${PKG_BINUTILS_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa}; : ${PKG_BINUTILS_VERSION:=2.24.51}; +: ${PKG_BINUTILS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_VERSION}.tar.bz2}; +: ${PKG_CBB_CONFIGURE_EXTRA_ARGS:=--with-libelf=${PREFIX_NATIVE} --with-gmp=${PREFIX_NATIVE} --with-mpc=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE} --with-sysroot=/}; : ${PKG_CBB_VERSION:=cbb-gcc-4.6.4}; : ${PKG_COREUTILS_SHA256SUM:=ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d}; : ${PKG_COREUTILS_VERSION:=8.23}; +: ${PKG_COREUTILS_URL:=https://ftp.gnu.org/gnu/coreutils/coreutils-${PKG_COREUTILS_VERSION}.tar.xz}; : ${PKG_DIFFUTILS_SHA256SUM:=a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c}; : ${PKG_DIFFUTILS_VERSION:=3.3}; +: ${PKG_DIFFUTILS_URL:=https://ftp.gnu.org/gnu/diffutils/diffutils-${PKG_DIFFUTILS_VERSION}.tar.xz}; +: ${PKG_FINDUTILS_CFLAGS:="${CFLAGS:+${CFLAGS} }-Dendpwent=setpwent"}; : ${PKG_FINDUTILS_SHA256SUM:=0de3cf625a5c9f154eee3171e072515ffdde405244dd00502af617ac57b73ae2}; : ${PKG_FINDUTILS_VERSION:=4.5.14}; +: ${PKG_FINDUTILS_URL:=http://alpha.gnu.org/gnu/findutils/findutils-${PKG_FINDUTILS_VERSION}.tar.gz}; : ${PKG_GAWK_SHA256SUM:=e3cf55e91e31ea2845f8338bedd91e40671fc30e4d82ea147d220e687abda625}; : ${PKG_GAWK_VERSION:=4.1.3}; +: ${PKG_GAWK_URL:=https://ftp.gnu.org/gnu/gawk/gawk-${PKG_GAWK_VERSION}.tar.xz}; : ${PKG_GCC_VERSION:=4.6.4}; +: ${PKG_GMP_CONFIGURE_EXTRA_ARGS:=--disable-assembly}; +: ${PKG_GMP_PREFIX_EXTRA:=${PREFIX_TARGET}}; : ${PKG_GMP_SHA256SUM:=752079520b4690531171d0f4532e40f08600215feefede70b24fabdc6f1ab160}; : ${PKG_GMP_VERSION:=5.1.3}; +: ${PKG_GMP_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_VERSION}.tar.bz2}; : ${PKG_GREP_SHA256SUM:=ca91d22f017bfcb503d4bc3b44295491c89a33a3df0c3d8b8614f2d3831836eb}; : ${PKG_GREP_VERSION:=2.22}; +: ${PKG_GREP_URL:=https://ftp.gnu.org/gnu/grep/grep-${PKG_GREP_VERSION}.tar.xz}; : ${PKG_GZIP_SHA256SUM:=1ca41818a23c9c59ef1d5e1d00c0d5eaa2285d931c0fb059637d7c0cc02ad967}; : ${PKG_GZIP_VERSION:=1.2.4}; +: ${PKG_GZIP_URL:=https://ftp.gnu.org/gnu/gzip/gzip-${PKG_GZIP_VERSION}.tar.gz}; +: ${PKG_LIBELF_CC:=${HOST_NATIVE}-gcc}; +: ${PKG_LIBELF_DESTDIR:=}; +: ${PKG_LIBELF_NO_LIBTOOL_MIDIPIX:=1}; +: ${PKG_LIBELF_PREFIX:=${PREFIX_NATIVE}}; : ${PKG_LIBELF_SHA256SUM:=591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d}; : ${PKG_LIBELF_VERSION:=0.8.13}; +: ${PKG_LIBELF_URL:=http://www.mr511.de/software/libelf-${PKG_LIBELF_VERSION}.tar.gz}; : ${PKG_LIBZ_SHA256SUM:=33e65f22ec3d3e3f87436e53f82eb114054cd3aa373dc0480625dd92806fd9a0}; : ${PKG_LIBZ_VERSION:=1.2.8.2015.05.20}; +: ${PKG_LIBZ_URL:=https://sortix.org/libz/release/libz-${PKG_LIBZ_VERSION}.tar.gz}; : ${PKG_MAKE_SHA256SUM:=f3e69023771e23908f5d5592954d8271d3d6af09693cecfd29cee6fde8550dc8}; : ${PKG_MAKE_VERSION:=3.81}; +: ${PKG_MAKE_URL:=https://ftp.gnu.org/gnu/make/make-${PKG_MAKE_VERSION}.tar.bz2}; +: ${PKG_MPC_CONFIGURE_EXTRA_ARGS:=--with-gmp=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE}}; +: ${PKG_MPC_PREFIX_EXTRA:=${PREFIX_TARGET}}; : ${PKG_MPC_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff}; : ${PKG_MPC_VERSION:=1.0.1}; +: ${PKG_MPC_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_VERSION}.tar.gz}; +: ${PKG_MPFR_CONFIGURE_EXTRA_ARGS:=--with-gmp=${PREFIX_NATIVE}}; +: ${PKG_MPFR_PREFIX_EXTRA:=${PREFIX_TARGET}}; : ${PKG_MPFR_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b}; : ${PKG_MPFR_VERSION:=3.1.2}; +: ${PKG_MPFR_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_VERSION}.tar.bz2}; : ${PKG_MUSL_SHA256SUM:=720b83c7e276b4b679c0bffe9509340d5f81fd601508e607e708177df0d31c0e}; : ${PKG_MUSL_VERSION:=1.1.12}; +: ${PKG_MUSL_URL:=http://www.musl-libc.org/releases/musl-${PKG_MUSL_VERSION}.tar.gz}; : ${PKG_PATCH_SHA256SUM:=59c29f56faa0a924827e6a60c6accd6e2900eae5c6aaa922268c717f06a62048}; : ${PKG_PATCH_VERSION:=2.7}; +: ${PKG_PATCH_URL:=https://ftp.gnu.org/gnu/patch/patch-${PKG_PATCH_VERSION}.tar.gz}; : ${PKG_SED_SHA256SUM:=f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7}; : ${PKG_SED_VERSION:=4.2.2}; - -: ${PREFIX:=${HOME}/midipix}; -: ${PREFIX_NATIVE:=${PREFIX}/native}; -: ${PREFIX_TARGET:=${PREFIX}/${TARGET}}; -: ${WORKDIR:=${PREFIX}/tmp}; - -MAKEFLAGS="-j8${MAKEFLAGS:+ ${MAKEFLAGS}}"; -export PATH="${PREFIX}/bin${PATH:+:${PATH}}"; -TIMESTAMP_FMT="%Y/%m/%d %H:%M:%S"; +: ${PKG_SED_URL:=https://ftp.gnu.org/gnu/sed/sed-${PKG_SED_VERSION}.tar.bz2}; # vim:filetype=sh