Updating Tools

This commit is contained in:
root 2016-08-24 23:21:47 +10:00
parent 68cddcabaa
commit 48838d6342
6 changed files with 12 additions and 15 deletions

View file

@ -1,8 +1,8 @@
#!/bin/bash -e
mkdir bin
wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.0.2.jar
mv apktool_2.0.2.jar bin/apktool.jar
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.2.0.jar
mv apktool_2.2.0.jar bin/apktool.jar
mv apktool bin/
chmod 755 bin/apktool
chmod 755 bin/apktool.jar

View file

@ -1,6 +1,6 @@
#!/bin/bash
wget -O - http://www.bay12games.com/dwarves/df_42_02_linux.tar.bz2 | tar xj
wget -O - http://www.bay12games.com/dwarves/df_43_05_linux.tar.bz2 | tar xj
mkdir -p bin
cat <<END > bin/dwarf_fortress

View file

@ -1,7 +1,7 @@
#!/bin/bash
curl https://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.gz | tar xz
cd gdb-7.11
curl https://ftp.gnu.org/gnu/gdb/gdb-7.11.1.tar.gz | tar xz
cd gdb-7.11.1
./configure --prefix=$(dirname $PWD) --with-python=python2 --enable-targets=all
make -j $(nproc)
make install

View file

@ -1,7 +1,7 @@
#!/bin/bash
curl http://wiki.qemu-project.org/download/qemu-2.4.1.tar.bz2 | tar xvj
cd qemu-2.4.1
curl http://wiki.qemu-project.org/download/qemu-2.6.1.tar.bz2 | tar xvj
cd qemu-2.6.1
if [[ "$(python --version 2>&1)" =~ Python\ 3 ]]; then
./configure "--prefix=$(dirname $PWD)" "--python=$(which python2)"
else

View file

@ -1,11 +1,11 @@
#!/bin/bash
curl http://jaist.dl.sourceforge.net/project/reveng/1.4.0/reveng-1.4.0.tar.gz | tar xz
cd reveng-1.4.0
curl http://jaist.dl.sourceforge.net/project/reveng/1.4.4/reveng-1.4.4.tar.gz | tar xz
cd reveng-1.4.4
sed -i -e "s/^#define BMP_BIT.*/#define BMP_BIT 64/" config.h
sed -i -e "s/^#define BMP_SUB.*/#define BMP_SUB 32/" config.h
make -j $(nproc)
cd ..
mkdir -p bin
cp reveng-1.4.0/reveng bin
cp reveng-1.4.4/reveng bin

View file

@ -2,11 +2,8 @@
INST_DIR=$PWD
#[ -e snowman ] || git clone --depth 1 --depth 1 https://github.com/yegord/snowman
[ -e v1.0.tar.gz ] || wget https://github.com/nihilus/snowman/archive/v1.0.tar.gz
tar xzf v1.0.tar.gz
cd snowman-1.0
rm -rf build
[ -e snowman ] || git clone --depth 1 https://github.com/yegord/snowman
cd snowman
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=$INST_DIR ../src