summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
l---------337.mc.build (renamed from 337.mksh.build)0
l---------338.mksh.build (renamed from 338.nano.build)0
-rw-r--r--338.mksh.vars (renamed from 337.mksh.vars)0
l---------339.nano.build (renamed from 339.netcat.build)0
l---------340.netcat.build (renamed from 340.openssh.build)0
-rw-r--r--340.netcat.vars (renamed from 339.netcat.vars)0
l---------341.openssh.build (renamed from 341.pacman.build)0
l---------342.pacman.build (renamed from 342.patch.build)0
l---------343.patch.build (renamed from 343.perl.build)0
l---------344.perl.build (renamed from 344.python3.build)0
-rw-r--r--344.perl.vars (renamed from 343.perl.vars)0
l---------345.python3.build (renamed from 345.rsync.build)0
-rw-r--r--345.python3.vars (renamed from 344.python3.vars)0
l---------346.rsync.build (renamed from 346.sed.build)0
l---------347.sed.build (renamed from 347.tar.build)0
l---------348.tar.build (renamed from 348.tcsh.build)0
l---------349.tcsh.build1
-rw-r--r--999.tarballs.build2
-rw-r--r--build.vars11
-rw-r--r--mc-4.8.17.local.patch22
20 files changed, 32 insertions, 4 deletions
diff --git a/337.mksh.build b/337.mc.build
index 52bb82e5..52bb82e5 120000
--- a/337.mksh.build
+++ b/337.mc.build
diff --git a/338.nano.build b/338.mksh.build
index 52bb82e5..52bb82e5 120000
--- a/338.nano.build
+++ b/338.mksh.build
diff --git a/337.mksh.vars b/338.mksh.vars
index b7b4582f..b7b4582f 100644
--- a/337.mksh.vars
+++ b/338.mksh.vars
diff --git a/339.netcat.build b/339.nano.build
index 52bb82e5..52bb82e5 120000
--- a/339.netcat.build
+++ b/339.nano.build
diff --git a/340.openssh.build b/340.netcat.build
index 52bb82e5..52bb82e5 120000
--- a/340.openssh.build
+++ b/340.netcat.build
diff --git a/339.netcat.vars b/340.netcat.vars
index e9bd7e18..e9bd7e18 100644
--- a/339.netcat.vars
+++ b/340.netcat.vars
diff --git a/341.pacman.build b/341.openssh.build
index 52bb82e5..52bb82e5 120000
--- a/341.pacman.build
+++ b/341.openssh.build
diff --git a/342.patch.build b/342.pacman.build
index 52bb82e5..52bb82e5 120000
--- a/342.patch.build
+++ b/342.pacman.build
diff --git a/343.perl.build b/343.patch.build
index 52bb82e5..52bb82e5 120000
--- a/343.perl.build
+++ b/343.patch.build
diff --git a/344.python3.build b/344.perl.build
index 52bb82e5..52bb82e5 120000
--- a/344.python3.build
+++ b/344.perl.build
diff --git a/343.perl.vars b/344.perl.vars
index 23604795..23604795 100644
--- a/343.perl.vars
+++ b/344.perl.vars
diff --git a/345.rsync.build b/345.python3.build
index 52bb82e5..52bb82e5 120000
--- a/345.rsync.build
+++ b/345.python3.build
diff --git a/344.python3.vars b/345.python3.vars
index c987c798..c987c798 100644
--- a/344.python3.vars
+++ b/345.python3.vars
diff --git a/346.sed.build b/346.rsync.build
index 52bb82e5..52bb82e5 120000
--- a/346.sed.build
+++ b/346.rsync.build
diff --git a/347.tar.build b/347.sed.build
index 52bb82e5..52bb82e5 120000
--- a/347.tar.build
+++ b/347.sed.build
diff --git a/348.tcsh.build b/348.tar.build
index 52bb82e5..52bb82e5 120000
--- a/348.tcsh.build
+++ b/348.tar.build
diff --git a/349.tcsh.build b/349.tcsh.build
new file mode 120000
index 00000000..52bb82e5
--- /dev/null
+++ b/349.tcsh.build
@@ -0,0 +1 @@
+pkg.build \ No newline at end of file
diff --git a/999.tarballs.build b/999.tarballs.build
index 3d4829a6..0e8ca61a 100644
--- a/999.tarballs.build
+++ b/999.tarballs.build
@@ -57,7 +57,7 @@ log_msg info "Restored ${PREFIX_BASENAME}/lib.";
log_msg info "Building source tarball...";
-tar -cpf - $(find tmp -mindepth 1 -maxdepth 2 \
+tar -cpf - $(find tmp -mindepth 2 -maxdepth 2 \
-not -path tmp/.\* \
-not -path tmp/\*.tar\* -not -path tmp/\*.tgz -not -path tmp/\*.txz \
-not -path tmp/ntctty/.git -not -path tmp/psxscl/.git) |\
diff --git a/build.vars b/build.vars
index c720892a..0e00ca6e 100644
--- a/build.vars
+++ b/build.vars
@@ -8,9 +8,8 @@
# should not be forward slash-terminated.
#
-: ${PREFIX:=${HOME}/midipix};
-
: ${ARCH:=nt64};
+: ${PREFIX:=${HOME}/midipix/${ARCH}};
: ${BUILD_STATUS_FINISHED_AT_CURRENT_FNAME:=${PREFIX}/BUILD_FINISHED_AT};
: ${BUILD_STATUS_IN_PROGRESS_FNAME:=${PREFIX}/BUILD_IN_PROGRESS};
: ${CFLAGS_DEFAULT:=-g2 -O0};
@@ -53,7 +52,7 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}";
: ${WGET_ARGS:="--no-check-certificate"};
: ${WORKDIR:=${PREFIX}/tmp};
-: ${PKG_BUILD_NAMES:="apk_tools bash binutils binutils_host bzip2 coreutils curl dalist dash diffutils findutils gawk git glib gmp grep gzip hexcurse inetutils irssi less libarchive libelf libevent libfetch libffi libnbcompat libressl libz lua make mksh mpc mpfr nano ncurses ncursestw ncursesw netcat ntapi ntcon ntctty openssh pacman patch pemagine perl pkgconf pkgconf_host popt psxscl psxstub psxtypes python3 rsync sed slibtool tar tcsh tmux util_linux vim which xz zsh"};
+: ${PKG_BUILD_NAMES:="apk_tools bash binutils binutils_host bzip2 coreutils curl dalist dash diffutils findutils gawk git glib gmp grep gzip hexcurse inetutils irssi less libarchive libelf libevent libfetch libffi libnbcompat libressl libz lua make mc mksh mpc mpfr nano ncurses ncursestw ncursesw netcat ntapi ntcon ntctty openssh pacman patch pemagine perl pkgconf pkgconf_host popt psxscl psxstub psxtypes python3 rsync sed slibtool tar tcsh tmux util_linux vim which xz zsh"};
: ${PKG_BUILD_VARS:="AR_BUILD AR_CONFIGURE AR_INSTALL AUTOCONF AUTOGEN 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 FNAME GIT_ARGS_EXTRA INSTALL_TARGET LDFLAGS_BUILD_EXTRA LDFLAGS_CONFIGURE LDFLAGS_CONFIGURE_EXTRA LDFLAGS_INSTALL_EXTRA LIBFILES_FIX LIBTOOL_MIDIPIX LIBTOOL_MIDIPIX_FIX MAKEFLAGS_BUILD MAKEFLAGS_BUILD_EXTRA MAKEFLAGS_INSTALL MAKEFLAGS_INSTALL_EXTRA NO_CLEAN PATCHES_EXTRA_URL PREFIX_EXTRA RANLIB_BUILD RANLIB_INSTALL SHA256SUM SLIBTOOL SUBDIR SUBDIR_CREATE URL URL_FNAME URL_TYPE VERSION"};
: ${PKG_LVL0_CFLAGS_CONFIGURE:=-O0};
: ${PKG_LVL0_CONFIGURE_ARGS:="-C --disable-nls --host=${HOST_NATIVE} --prefix= --target=${TARGET}"};
@@ -248,6 +247,12 @@ export PATH="${PREFIX}/bin${PATH:+:${PATH}}";
: ${PKG_MAKE_VERSION:=3.81};
: ${PKG_MAKE_SHA256SUM:=f3e69023771e23908f5d5592954d8271d3d6af09693cecfd29cee6fde8550dc8};
: ${PKG_MAKE_URL:=https://ftp.gnu.org/gnu/make/make-${PKG_MAKE_VERSION}.tar.bz2};
+: ${PKG_MC_VERSION:=4.8.17};
+: ${PKG_MC_SHA256SUM:=0447bdddc0baa81866e66f50f9a545d29d6eebb68b0ab46c98d8fddd2bf4e44d};
+: ${PKG_MC_URL:=http://ftp.midnight-commander.org/mc-${PKG_MC_VERSION}.tar.xz};
+: ${PKG_MC_CFLAGS_BUILD_EXTRA:="-I${PREFIX_LVL3}/include -I${PREFIX_LVL3}/include/ncursesw"};
+: ${PKG_MC_CONFIGURE_ARGS_EXTRA:=--with-screen=ncurses};
+: ${PKG_MC_MAKEFLAGS_BUILD_EXTRA:=V=99};
: ${PKG_MKSH_VERSION:=R52c};
: ${PKG_MKSH_SHA256SUM:=c6341acea725103f782c14e994d6e12dabaee69e60fe1bc78603a41258d43ba6};
: ${PKG_MKSH_URL:=http://pub.allbsd.org/MirOS/dist/mir/mksh/mksh-${PKG_MKSH_VERSION}.tgz};
diff --git a/mc-4.8.17.local.patch b/mc-4.8.17.local.patch
new file mode 100644
index 00000000..23563790
--- /dev/null
+++ b/mc-4.8.17.local.patch
@@ -0,0 +1,22 @@
+--- mc-4.8.17/config/config.sub.orig 2016-05-07 16:13:48.000000000 +0000
++++ mc-4.8.17/config/config.sub 2016-06-26 10:21:53.137825316 +0000
+@@ -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* \