Lucio Andrés Illanes Albornoz 4b7725
#
Lucio Andrés Illanes Albornoz 4b7725
# Build group native_packages (dev)
Lucio Andrés Illanes Albornoz 4b7725
#
Lucio Andrés Illanes Albornoz c6d6e0
GROUP_TARGET="native_packages";
Lucio Andrés Illanes Albornoz bf9edf
NATIVE_PACKAGES_PACKAGES="$(rtl_lconcat "${NATIVE_PACKAGES_PACKAGES}" "
Lucio Andrés Illanes Albornoz bf9edf
bison chicken cparser diffutils flex gdb lua lunix m4 make mandoc nasm
Lucio Andrés Illanes Albornoz bf9edf
patch patchutils perl python2 python3 ruby smallbasic tk")";
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_BISON_SHA256SUM:=55e4a023b1b4ad19095a5f8279f0dc048fa29f970759cea83224a6d5e7a3a641};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_BISON_VERSION:=3.5};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_BISON_URL:=https://ftp.gnu.org/gnu/bison/bison-${PKG_BISON_VERSION}.tar.xz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_SHA256SUM:=e3dc2b8f95b6a3cd59c85b5bb6bdb2bd9cefc45b5d536a20cad74e3c63f4ad89};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_VERSION:=4.11.0};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_URL:=https://code.call-cc.org/releases/4.11.0/chicken-${PKG_CHICKEN_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_IN_TREE:=1};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_MAKEFLAGS_BUILD:="PLATFORM=midipix-${ARCH} PREFIX=${PREFIX_NATIVE} TARGET_PREFIX=${PREFIX_NATIVE} C_COMPILER=${DEFAULT_TARGET}-gcc HOSTSYSTEM=${DEFAULT_TARGET}"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_DEBUG_MAKEFLAGS_BUILD_EXTRA:=DEBUGBUILD=1};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_RELEASE_MAKEFLAGS_BUILD_EXTRA:=DEBUGBUILD=0};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_MAKEFLAGS_INSTALL:="PLATFORM=midipix-${ARCH} PREFIX=${PREFIX_NATIVE} C_COMPILER=${DEFAULT_TARGET}-gcc HOSTSYSTEM=${DEFAULT_TARGET} CROSS_CHICKEN=1"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= TARGET_PREFIX="};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CHICKEN_MAKE_INSTALL_VNAME:=DESTDIR};
Lucio Andrés Illanes Albornoz c85513
: ${PKG_CPARSER_DEPENDS:="libfirm"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CPARSER_URLS_GIT:="cparser=http://pp.info.uni-karlsruhe.de/git/cparser.git@master bcparser=${DEFAULT_GITROOT}/compilers/bcparser@main"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CPARSER_BASE_DIR:=${BUILD_WORKDIR}/cparser+libfirm-native-${DEFAULT_TARGET}};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CPARSER_BUILD_DIR:=build/cparser};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CPARSER_CONFIGURE:=bcparser/configure};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CPARSER_CONFIGURE_ARGS:="--source-dir=../../cparser --prefix="};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_CPARSER_NO_CLEAN_BASE_DIR:=1};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_DIFFUTILS_SHA256SUM:=b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_DIFFUTILS_VERSION:=3.7};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_DIFFUTILS_URL:=https://ftp.gnu.org/gnu/diffutils/diffutils-${PKG_DIFFUTILS_VERSION}.tar.xz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_FLEX_SHA256SUM:=e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_FLEX_VERSION:=2.6.4};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_FLEX_URL:=https://github.com/westes/flex/releases/download/v${PKG_FLEX_VERSION}/flex-${PKG_FLEX_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_FLEX_CONFIGURE_ARGS_EXTRA:=--disable-libfl};
Lucio Andrés Illanes Albornoz 0053ba
: ${PKG_GDB_DEPENDS:="ncurses python2"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_SHA256SUM:=149abac4add030a5713f15964bd7465bef7a23712bcc91377ca40949f33e93fb};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_VERSION:=7.12};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_URL:=ftp://sourceware.org/pub/gdb/releases/gdb-${PKG_GDB_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_CFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 -L${PREFIX_NATIVE}/lib"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_CONFIGURE_ARGS_EXTRA:="--with-system-libiberty --with-system-readline --with-system-zlib --with-python=${PWD}/etc/python2.7-config"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_CXXFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 -L${PREFIX_NATIVE}/lib"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_ENV_VARS_EXTRA:="CFLAGS_FOR_TARGET=-g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 --sysroot=${PREFIX_NATIVE}:LDFLAGS_FOR_TARGET=--sysroot=${PREFIX_NATIVE}"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_LIBTOOL:=rdlibtool};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_MAKEFLAGS_BUILD_EXTRA:="SYSROOT_FLAGS=--sysroot=${PREFIX_NATIVE}"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_GDB_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gdb/gdb-${PKG_GDB_VERSION}.midipix.patch"};
Lucio Andrés Illanes Albornoz bf9edf
: ${PKG_LUA_SHA256SUM:=f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c};
Lucio Andrés Illanes Albornoz bf9edf
: ${PKG_LUA_VERSION:=5.3.4};
Lucio Andrés Illanes Albornoz bf9edf
: ${PKG_LUA_URL:=https://www.lua.org/ftp/lua-${PKG_LUA_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz bf9edf
: ${PKG_LUA_IN_TREE:=1};
Lucio Andrés Illanes Albornoz bf9edf
: ${PKG_LUA_CONFIGURE_ARGS_EXTRA:="--with-readline --with-compat-module"};
Lucio Andrés Illanes Albornoz bf9edf
: ${PKG_LUA_FORCE_AUTORECONF:=1};
Lucio Andrés Illanes Albornoz bf9edf
: ${PKG_LUA_INSTALL_FILES:=@liblua.so=lib/liblua.so.0};
Lucio Andrés Illanes Albornoz d70250
: ${PKG_LUNIX_DEPENDS:="lua"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_LUNIX_URLS_GIT:=lunix=https://github.com/Redfoxmoon3/lunix.git@master};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_LUNIX_IN_TREE:=1};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_LUNIX_MAKEFLAGS_BUILD:="all5.3 libdir=${PREFIX_NATIVE}/lib"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_LUNIX_MAKEFLAGS_INSTALL_EXTRA:="libdir=lib"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_M4_SHA256SUM:=f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_M4_VERSION:=1.4.18};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_M4_URL:=https://ftp.gnu.org/gnu/m4/m4-${PKG_M4_VERSION}.tar.xz};
cd2815
: ${PKG_MAKE_SHA256SUM:=e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7};
cd2815
: ${PKG_MAKE_VERSION:=4.2.1};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_MAKE_URL:=https://ftp.gnu.org/gnu/make/make-${PKG_MAKE_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz 8c791c
: ${PKG_MANDOC_DEPENDS:="libz"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_MANDOC_SHA256SUM:=b1c9a2f27c487d6be08387aab7602199fd356086631d6e3f471b00c75249082d};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_MANDOC_VERSION:=1.14.3};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_MANDOC_URL:=https://midipix.org/mirror/mandoc/mandoc-${PKG_MANDOC_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_MANDOC_IN_TREE:=1};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_NASM_SHA256SUM:=e24ade3e928f7253aa8c14aa44726d1edf3f98643f87c9d72ec1df44b26be8f5};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_NASM_VERSION:=2.14.02};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_NASM_URL:=https://fossies.org/linux/misc/nasm-${PKG_NASM_VERSION}.tar.xz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_NASM_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PATCH_SHA256SUM:=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PATCH_VERSION:=2.7.6};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PATCH_URL:=https://ftp.gnu.org/gnu/patch/patch-${PKG_PATCH_VERSION}.tar.xz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PATCHUTILS_SHA256SUM:=cf55d4db83ead41188f5b6be16f60f6b76a87d5db1c42f5459d596e81dabe876};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PATCHUTILS_VERSION:=0.3.4};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PATCHUTILS_URL:=http://cyberelk.net/tim/data/patchutils/stable/patchutils-${PKG_PATCHUTILS_VERSION}.tar.xz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PERL_SHA256SUM:=2b475d0849d54c4250e9cba4241b7b7291cffb45dfd083b677ca7b5d38118f27};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PERL_VERSION:=5.22.1};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PERL_URL:=http://www.cpan.org/src/5.0/perl-${PKG_PERL_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PERL_URLS_GIT:="perl-cross=https://github.com/lalbornoz/perl-cross@master"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PERL_BASE_DIR:=${BUILD_WORKDIR}/perl-native-${DEFAULT_TARGET}};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PERL_CONFIGURE_ARGS:="-A ccflags=-I${PREFIX_NATIVE}/include --sysroot=${PREFIX_NATIVE} --target=${DEFAULT_TARGET}"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PERL_ENV_VARS_EXTRA:="TARGET=${DEFAULT_TARGET}"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PERL_MAKEFLAGS_BUILD:=-j1};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PERL_SUBDIR:=perl-${PKG_PERL_VERSION}};
Lucio Andrés Illanes Albornoz 70fe0d
: ${PKG_PYTHON2_DEPENDS:="bzip2 curl expat gdbm libffi libreadline libressl libz ncursesw sqlite3"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON2_SHA256SUM:=18617d1f15a380a919d517630a9cd85ce17ea602f9bbdc58ddc672df4b0239db};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON2_VERSION:=2.7.15};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON2_URL:="https://www.python.org/ftp/python/${PKG_PYTHON2_VERSION}/Python-${PKG_PYTHON2_VERSION}.tgz"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON2_URLS_GIT:="sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON2_BASE_DIR:=${BUILD_WORKDIR}/python2-native-${DEFAULT_TARGET}};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON2_BUILD_DIR:=build/python2};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON2_CONFIGURE:=build/sbpython2/configure};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON2_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON2_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON2_ENV_VARS_EXTRA:="NATIVE_CFLAGS=-std=c99 -D_XOPEN_SOURCE=700 -I${PREFIX}/include:NATIVE_LDFLAGS=-L${PREFIX}/lib -ltinfo -Wl,-rpath,${PREFIX}/lib"};
Lucio Andrés Illanes Albornoz 23ed3d
: ${PKG_PYTHON3_DEPENDS:="bzip2 curl expat gdbm libffi libreadline libressl libz ncursesw sqlite3 xz"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_SHA256SUM:=ab6193af1921b30f587b302fe385268510e80187ca83ca82d2bfe7ab544c6f91};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_VERSION:=3.6.3};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_URL:="https://www.python.org/ftp/python/${PKG_PYTHON3_VERSION}/Python-${PKG_PYTHON3_VERSION}.tgz"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_URLS_GIT:="sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_BASE_DIR:=${BUILD_WORKDIR}/python3-native-${DEFAULT_TARGET}};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_BUILD_DIR:=build/python3};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_CONFIGURE:=build/sbpython3/configure};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_ENV_VARS_EXTRA:="NATIVE_CFLAGS=-std=c99 -D_XOPEN_SOURCE=700 -I${PREFIX}/include:NATIVE_LDFLAGS=-L${PREFIX}/lib -ltinfo -Wl,-rpath,${PREFIX}/lib"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_INSTALL_FILES:="@python3=bin/python"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_PYTHON3_SUBDIR:=Python-${PKG_PYTHON3_VERSION}};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_RUBY_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_RUBY_VERSION:=2.3.0};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_RUBY_URL:=https://cache.ruby-lang.org/pub/ruby/${PKG_RUBY_VERSION%.*}/ruby-${PKG_RUBY_VERSION}.tar.gz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_RUBY_CONFIGURE_ARGS_EXTRA:="--disable-install-rdoc --with-baseruby=${PREFIX}/bin/ruby --with-out-ext=fiddle,openssl"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_RUBY_MAKEFLAGS_BUILD:=-j1};
Lucio Andrés Illanes Albornoz 175e92
: ${PKG_RUBY_MAKEFLAGS_VERBOSITY:="none"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_SMALLBASIC_URLS_GIT:="SmallBASIC=https://github.com/smallbasic/SmallBASIC@master"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_SMALLBASIC_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_SMALLBASIC_IN_TREE:=1};
Lucio Andrés Illanes Albornoz c85513
: ${PKG_TK_DEPENDS:="libX11 tcl"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_TK_SHA256SUM:=131e4bae43a15dff0324c0479358bb42cfd7b8de0e1ca8d93c9207643c7144dd};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_TK_VERSION:=8.7a1};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_TK_URL:=http://kuiper.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/tcl8_7/tk${PKG_TK_VERSION}-src.tar.gz};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_TK_CONFIGURE:="tk${PKG_TK_VERSION}/unix/configure"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_TK_CONFIGURE_ARGS_EXTRA:="tcl_cv_strtod_buggy=no --with-tcl=${PREFIX_NATIVE}/lib"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_TK_PATCHES_EXTRA:="${PWD}patches/tk-8.7a1.local.patch"};
Lucio Andrés Illanes Albornoz 4b7725
: ${PKG_TK_SUBDIR:=tk${PKG_TK_VERSION}};
Lucio Andrés Illanes Albornoz 4b7725
Lucio Andrés Illanes Albornoz 4b7725
# vim:filetype=sh textwidth=0