summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
l---------351.ncursestw.build (renamed from 351.bash.build)0
l---------352.ncursesw.build (renamed from 352.dash.build)0
l---------353.bash.build (renamed from 353.less.build)0
-rw-r--r--353.bash.vars (renamed from 351.bash.vars)0
l---------354.dash.build (renamed from 354.util_linux.build)0
l---------355.less.build1
l---------356.util_linux.build1
-rw-r--r--356.util_linux.vars (renamed from 354.util_linux.vars)0
l---------357.nano.build1
l---------358.hexcurse.build1
-rw-r--r--build.subr9
-rw-r--r--build.vars26
-rw-r--r--hexcurse.local.patch22
-rw-r--r--nano-2.5.3.local.patch22
14 files changed, 79 insertions, 4 deletions
diff --git a/351.bash.build b/351.ncursestw.build
index 52bb82e5..52bb82e5 120000
--- a/351.bash.build
+++ b/351.ncursestw.build
diff --git a/352.dash.build b/352.ncursesw.build
index 52bb82e5..52bb82e5 120000
--- a/352.dash.build
+++ b/352.ncursesw.build
diff --git a/353.less.build b/353.bash.build
index 52bb82e5..52bb82e5 120000
--- a/353.less.build
+++ b/353.bash.build
diff --git a/351.bash.vars b/353.bash.vars
index 8ab081a0..8ab081a0 100644
--- a/351.bash.vars
+++ b/353.bash.vars
diff --git a/354.util_linux.build b/354.dash.build
index 52bb82e5..52bb82e5 120000
--- a/354.util_linux.build
+++ b/354.dash.build
diff --git a/355.less.build b/355.less.build
new file mode 120000
index 00000000..52bb82e5
--- /dev/null
+++ b/355.less.build
@@ -0,0 +1 @@
+pkg.build \ No newline at end of file
diff --git a/356.util_linux.build b/356.util_linux.build
new file mode 120000
index 00000000..52bb82e5
--- /dev/null
+++ b/356.util_linux.build
@@ -0,0 +1 @@
+pkg.build \ No newline at end of file
diff --git a/354.util_linux.vars b/356.util_linux.vars
index 20f843c4..20f843c4 100644
--- a/354.util_linux.vars
+++ b/356.util_linux.vars
diff --git a/357.nano.build b/357.nano.build
new file mode 120000
index 00000000..52bb82e5
--- /dev/null
+++ b/357.nano.build
@@ -0,0 +1 @@
+pkg.build \ No newline at end of file
diff --git a/358.hexcurse.build b/358.hexcurse.build
new file mode 120000
index 00000000..52bb82e5
--- /dev/null
+++ b/358.hexcurse.build
@@ -0,0 +1 @@
+pkg.build \ No newline at end of file
diff --git a/build.subr b/build.subr
index 30a45fa8..46ee83ea 100644
--- a/build.subr
+++ b/build.subr
@@ -111,6 +111,13 @@ set_env_vars() {
done; unset _sev_val_new;
};
+set_env_vars_with_sep() {
+ _sevws_sep=${1}; shift; push_IFS ${_sevws_sep}; set -- ${1};
+ while [ ${#} -gt 0 ]; do
+ export "${1}"; shift;
+ done; unset _sevws_sep; pop_IFS;
+};
+
# Download GNU bash-style patch sets into ${2}-patches-extra and
# apply them to ${2} in the correct order.
@@ -272,7 +279,7 @@ parse_with_pkg_name() {
[ -z "${PKG_URL}" ] && return 1;
[ -z "${PKG_FNAME}" ] && PKG_FNAME=${PKG_URL##*/};
[ -z "${PKG_SUBDIR}" ] && PKG_SUBDIR=${PKG_FNAME%%.tar*};
- [ -n "${PKG_ENV_VARS_EXTRA}" ] && export ${PKG_ENV_VARS_EXTRA};
+ [ -n "${PKG_ENV_VARS_EXTRA}" ] && set_env_vars_with_sep , "${PKG_ENV_VARS_EXTRA}";
export PKG_PREFIX=$(get_var_unsafe PREFIX_LVL${PKG_LVL}); return 0;
fi; shift;
done; return 1;
diff --git a/build.vars b/build.vars
index 04f99c7b..d51dd4fa 100644
--- a/build.vars
+++ b/build.vars
@@ -41,7 +41,7 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}";
: ${WGET_ARGS:="-N --no-check-certificate"};
: ${WORKDIR:=${PREFIX}/tmp};
-: ${PKG_BUILD_NAMES:="apk_tools bash binutils binutils_host bzip2 coreutils dalist dash diffutils findutils gawk git gmp grep gzip less libelf libressl libz make mpc mpfr ncurses ntapi ntcon ntctty openssh patch pemagine popt psxscl psxstub psxtypes rsync sed tar util_linux which xz"};
+: ${PKG_BUILD_NAMES:="apk_tools bash binutils binutils_host bzip2 coreutils dalist dash diffutils findutils gawk git gmp grep gzip hexcurse less libelf libressl libz make mpc mpfr nano ncurses ncursestw ncursesw ntapi ntcon ntctty openssh patch pemagine popt psxscl psxstub psxtypes rsync sed tar util_linux which xz"};
: ${PKG_BUILD_VARS:="AR_BUILD AR_CONFIGURE BUILD_DIR BUILD_TYPE CC_BUILD CC_CONFIGURE CC_INSTALL CFLAGS_BUILD_EXTRA CFLAGS_CONFIGURE CFLAGS_CONFIGURE_EXTRA CFLAGS_INSTALL_EXTRA CONFIGURE_ARGS CONFIGURE_ARGS_EXTRA ENV_VARS_EXTRA GIT_ARGS_EXTRA INSTALL_TARGET LDFLAGS_BUILD_EXTRA LDFLAGS_CONFIGURE_EXTRA LDFLAGS_INSTALL_EXTRA LIBTOOL_MIDIPIX LIBTOOL_MIDIPIX_FIX MAKEFLAGS_BUILD MAKEFLAGS_BUILD_EXTRA MAKEFLAGS_INSTALL MAKEFLAGS_INSTALL_EXTRA NO_CLEAN PATCHES_EXTRA_URL PREFIX_EXTRA RANLIB_INSTALL SHA256SUM SUBDIR URL URL_TYPE VERSION"};
: ${PKG_LVL0_CFLAGS_CONFIGURE:=-O0};
: ${PKG_LVL0_CONFIGURE_ARGS:="-C --host=${HOST_NATIVE} --prefix= --target=${TARGET}"};
@@ -53,7 +53,7 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}";
: ${PKG_LVL2_BUILD_TYPE:=cross};
: ${PKG_LVL2_CFLAGS_CONFIGURE:=${CFLAGS_DEFAULT}};
: ${PKG_LVL2_CONFIGURE_ARGS:="--prefix=${PREFIX_LVL2} --host=${HOST_NATIVE}"};
-: ${PKG_LVL2_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_LVL2}/include LDFLAGS_PATH=-L${PREFIX_LVL2}/lib"};
+: ${PKG_LVL2_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_LVL2}/include,LDFLAGS_PATH=-L${PREFIX_LVL2}/lib"};
: ${PKG_LVL2_MAKEFLAGS_BUILD:=${MAKEFLAGS_DEFAULT}};
: ${PKG_LVL2_URL_TYPE:=git};
: ${PKG_LVL3_CFLAGS_CONFIGURE:=${CFLAGS_DEFAULT}};
@@ -141,6 +141,10 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}";
: ${PKG_GZIP_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include};
: ${PKG_GZIP_LDFLAGS_CONFIGURE_EXTRA:=--sysroot=${PREFIX_NATIVE}};
: ${PKG_GZIP_CONFIGURE_ARGS:=--host=${HOST_NATIVE} --prefix= --target=${TARGET}};
+: ${PKG_HEXCURSE_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_LVL3}/include/ncursesw -I${PREFIX_LVL3}/include};
+: ${PKG_HEXCURSE_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX_LVL3}/lib};
+: ${PKG_HEXCURSE_URL:=https://github.com/LonnyGomes/hexcurse};
+: ${PKG_HEXCURSE_URL_TYPE:=git};
: ${PKG_LESS_VERSION:=481};
: ${PKG_LESS_SHA256SUM:=3fa38f2cf5e9e040bb44fffaa6c76a84506e379e47f5a04686ab78102090dda5};
: ${PKG_LESS_URL:=http://www.greenwoodsoftware.com/less/less-${PKG_LESS_VERSION}.tar.gz};
@@ -181,11 +185,27 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}";
: ${PKG_MUSL_VERSION:=1.1.12};
: ${PKG_MUSL_SHA256SUM:=720b83c7e276b4b679c0bffe9509340d5f81fd601508e607e708177df0d31c0e};
: ${PKG_MUSL_URL:=http://www.musl-libc.org/releases/musl-${PKG_MUSL_VERSION}.tar.gz};
+: ${PKG_NANO_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_LVL3}/include/ncursesw -I${PREFIX_LVL3}/include};
+: ${PKG_NANO_ENV_VARS_EXTRA:="NCURSESW_LIBS=-lformw -lmenuw -lncursesw -lpanelw,PKG_CONFIG_PATH=${PREFIX_LVL3}/lib/pkgconfig"};
+: ${PKG_NANO_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX_LVL3}/lib};
+: ${PKG_NANO_VERSION:=2.5.3};
+: ${PKG_NANO_SHA256SUM:=b2b060129b9feff2d4870d803a441178c96531de9aed144ec0b83bd63ccb12ee};
+: ${PKG_NANO_URL:=http://www.nano-editor.org/dist/v${PKG_NANO_VERSION%.[0-9]}/nano-${PKG_NANO_VERSION}.tar.gz};
: ${PKG_NCURSES_VERSION:=6.0};
: ${PKG_NCURSES_SHA256SUM:=f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260};
: ${PKG_NCURSES_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSES_VERSION}.tar.gz};
-: ${PKG_NCURSES_CONFIGURE_ARGS_EXTRA:=--with-pkg-config --with-pkg-config-libdir=${PREFIX_LVL3}/lib/pkgconfig --enable-pc-files --enable-widec --with-shared};
+: ${PKG_NCURSES_CONFIGURE_ARGS_EXTRA:=--with-pkg-config --with-pkg-config-libdir=${PREFIX_LVL3}/lib/pkgconfig --enable-pc-files --with-shared};
: ${PKG_NCURSES_MAKEFLAGS_INSTALL_EXTRA:=PKG_CONFIG_LIBDIR=/lib/pkgconfig};
+: ${PKG_NCURSESTW_VERSION:=6.0};
+: ${PKG_NCURSESTW_SHA256SUM:=f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260};
+: ${PKG_NCURSESTW_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSES_VERSION}.tar.gz};
+: ${PKG_NCURSESTW_CONFIGURE_ARGS_EXTRA:=--with-pkg-config --with-pkg-config-libdir=${PREFIX_LVL3}/lib/pkgconfig --enable-pc-files --enable-widec --with-shared --with-pthread};
+: ${PKG_NCURSESTW_MAKEFLAGS_INSTALL_EXTRA:=PKG_CONFIG_LIBDIR=/lib/pkgconfig};
+: ${PKG_NCURSESW_VERSION:=6.0};
+: ${PKG_NCURSESW_SHA256SUM:=f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260};
+: ${PKG_NCURSESW_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSES_VERSION}.tar.gz};
+: ${PKG_NCURSESW_CONFIGURE_ARGS_EXTRA:=--with-pkg-config --with-pkg-config-libdir=${PREFIX_LVL3}/lib/pkgconfig --enable-pc-files --enable-widec --with-shared};
+: ${PKG_NCURSESW_MAKEFLAGS_INSTALL_EXTRA:=PKG_CONFIG_LIBDIR=/lib/pkgconfig};
: ${PKG_OPENSSH_VERSION:=7.1p2};
: ${PKG_OPENSSH_SHA256SUM:=dd75f024dcf21e06a0d6421d582690bf987a1f6323e32ad6619392f3bfde6bbd};
: ${PKG_OPENSSH_URL:=http://artfiles.org/openbsd/OpenSSH/portable/openssh-${PKG_OPENSSH_VERSION}.tar.gz};
diff --git a/hexcurse.local.patch b/hexcurse.local.patch
new file mode 100644
index 00000000..2ae72da8
--- /dev/null
+++ b/hexcurse.local.patch
@@ -0,0 +1,22 @@
+--- hexcurse/config.sub.orig 2016-03-02 19:49:51.954650700 +0100
++++ hexcurse/config.sub 2016-03-02 19:50:22.516336100 +0100
+@@ -804,6 +804,10 @@
+ microblaze*)
+ basic_machine=microblaze-xilinx
+ ;;
++ midipix)
++ basic_machine=x86_64-pc
++ os=-midipix
++ ;;
+ mingw64)
+ basic_machine=x86_64-pc
+ os=-mingw64
+@@ -1384,7 +1388,7 @@
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
++ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
+ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
diff --git a/nano-2.5.3.local.patch b/nano-2.5.3.local.patch
new file mode 100644
index 00000000..06c063a1
--- /dev/null
+++ b/nano-2.5.3.local.patch
@@ -0,0 +1,22 @@
+--- nano-2.5.3/config.sub.orig 2013-08-11 11:49:21.000000000 +0000
++++ nano-2.5.3/config.sub 2016-03-02 14:34:35.702510395 +0000
+@@ -789,6 +789,10 @@
+ microblaze*)
+ basic_machine=microblaze-xilinx
+ ;;
++ midipix)
++ basic_machine=x86_64-pc
++ os=-midipix
++ ;;
+ mingw64)
+ basic_machine=x86_64-pc
+ os=-mingw64
+@@ -1365,7 +1369,7 @@
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
++ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
+ | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \