code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh find . -name "*~" -type f | xargs rm -f find . -name ".#*" -type f | xargs rm -f find . -name "*.rej" -type f | xargs rm -f find . -name "*.orig" -type f | xargs rm -f find . -name "DEADJOE" -type f | xargs rm -f find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".t...
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh curl --silent --compressed http://example.com/cron.php
Shell
#!/bin/sh /usr/bin/lynx -source http://example.com/cron.php > /dev/null 2>&1
Shell
#!/bin/sh if [ -n "$2" ] then find $2 -perm +a=s -ls > log.txt fi if [ "$1" = "h" ] then echo "par: h-->help n-->next a-->all,and log is log.txt" elif [ "$1" = "n" ] then find $2 -perm +a=s -ls -ok chmod a-s {} \; 2>/dev/null elif [ "$1" = "a" ] then find $2 -perm +a=s -ls -exec chmod a-s {} \; 2>/d...
Shell
#!/bin/sh if [ -n "$2" ] then find $2 -perm +a=s -ls > log.txt fi if [ "$1" = "h" ] then echo "par: h-->help n-->next a-->all,and log is log.txt" elif [ "$1" = "n" ] then find $2 -perm +a=s -ls -ok chmod a-s {} \; 2>/dev/null elif [ "$1" = "a" ] then find $2 -perm +a=s -ls -exec chmod a-s {} \; 2>/d...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation;...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation;...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation;...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation;...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation;...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation;...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation;...
Shell
#!/bin/bash # # MySQL Backup Script # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ # Copyright (c) 2002-2003 wipe_out@lycos.co.uk # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation;...
Shell
#!/bin/bash trap "" INT i=1 fa="fileaddress" if [ `id -u` -ne 0 ] then echo "请root账号登录运行这个程序" exit 1 fi find / -type f -perm +6000 > $fa filesum=`cat $fa | wc -l` while [ "$i" -le "$filesum" ] do FILENAME=`sed -n "${i}p" $fa` echo "是否修改这个文件的s特权属性:$FILENAME,输入:Y 或 N,或者输入Q退出程序" read choice while [ "$choice" != "Y" -a "$c...
Shell
#!/bin/bash trap "" INT i=1 fa="fileaddress" if [ `id -u` -ne 0 ] then echo "请root账号登录运行这个程序" exit 1 fi find / -type f -perm +6000 > $fa filesum=`cat $fa | wc -l` while [ "$i" -le "$filesum" ] do FILENAME=`sed -n "${i}p" $fa` echo "是否修改这个文件的s特权属性:$FILENAME,输入:Y 或 N,或者输入Q退出程序" read choice while [ "$choice" != "Y" -a "$c...
Shell
#!/bin/bash # (C) Copyright 2014, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in wr...
Shell
#-*- mode: shell-script;-*- # # bash completion support for tesseract # # Copyright (C) 2009 Neskie A. Manuel <neskiem@gmail.com> # Distributed under the Apache License, Version 2.0. # _tesseract_languages() { local TESSDATA="/usr/share/tesseract-ocr/tessdata/" local langs="$(ls $TESSDATA | grep traineddata | cut -...
Shell
#!/bin/bash # # File: generate_manpages.sh # Description: Converts .asc files into man pages, etc. for Tesseract. # Author: eger@google.com (David Eger) # Created: 9 Feb 2012 # # (C) Copyright 2012 Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this f...
Shell
#!/bin/bash # File: runalltests.sh # Description: Script to run a set of UNLV test sets. # Author: Ray Smith # Created: Thu Jun 14 08:21:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with...
Shell
#!/bin/bash # File: counttestset.sh # Description: Script to count the errors on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 11:58:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in comp...
Shell
#!/bin/bash # File: runtestset.sh # Description: Script to run tesseract on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 10:13:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
Shell
#!/bin/bash if [ $# -ne 1 ] then echo "Usage:$0 scantype" echo "UNLV data comes in several scan types:" echo "3B=300 dpi binary" echo "3A=adaptive thresholded 300 dpi" echo "3G=300 dpi grey" echo "4B=400dpi binary" echo "2B=200dpi binary" echo "For now we only use 3B" exit 1 fi ext=...
Shell
#!/bin/sh # This is a simple script which is meant to help developers # better deal with the GNU autotools, specifically: # # aclocal # autoheader # autoconf # automake # # The whole thing is quite complex... # # The idea is to run this collection of tools on a single platform, # typically the main development...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/bash if [ ! -e eigen-android ]; then hg clone https://bitbucket.org/eigen/eigen eigen-android else cd eigen-android && hg pull && hg update fi
Shell
#!/bin/sh current_dir=`pwd` mkdir -p download cd download if [ ! -e boost_1_45_0.tar.gz ] then echo "wget'ing boost'" #this url is for convenience, consider it a mirror and you may replace it #with any existing boost_1_45_0.tar.gz url boost_download=http://vault.willowgarage.com/wgdata1/vol1/android_bo...
Shell
#!/bin/sh if [ $# -ne 1 ] then echo "Error in $0 - Invalid Argument Count" echo "Syntax: $0 boost_1_45_0" exit fi patch $1/libs/filesystem/v2/src/v2_operations.cpp < android.patch
Shell
#!/bin/sh if [ $# -ne 1 ] then echo "Error in $0 - Invalid Argument Count" echo "Syntax: $0 boost_1_45_0" exit fi patch $1/libs/filesystem/v2/src/v2_operations.cpp < filesystem.patch patch $1/boost/detail/endian.hpp < endian.patch
Shell
if [ -z "$1" ] then echo "Usage: `basename $0` <path> the path will be used to download and untar the android-ndk to." exit $E_NOARGS fi export destination=$1 if [ ! -e $destination ]; then echo "$destination does not exist!" exit 1 fi ball=android-ndk-r5b-linux-x86.tar.bz2 hash=4c0045ddc2bfd657be9d5177d0e0b7...
Shell
if [ -z "$1" ] then echo "Usage: `basename $0` <path> the path will be used to download and untar the android-ndk into." exit $E_NOARGS fi export destination=$1 if [ ! -e $destination ]; then echo "$destination does not exist!" exit 1 fi ball=android-ndk-r5b-linux-x86.tar.bz2 hash=4c0045ddc2bfd657be9d5177d0e0...
Shell
#!/bin/sh #this generates an ant based cli build of the android-jni project android update project --name hello-android-cmake \ --path .
Shell
#this generates an ant based cli build of the android-jni project android update project --name HelloGL2 \ --path .
Shell
#!/bin/bash #javac HelloWorld.java cd java && ant
Shell
#!/bin/bash LD_LIBRARY_PATH=./lib/pc export LD_LIBRARY_PATH java -jar java/dist/lib/HelloBoost.jar
Shell
javah -jni -classpath build com.theveganrobot.cmake.HelloBoost
Shell
#!/bin/bash #javac HelloWorld.java cd java && ant
Shell
#!/bin/sh #this generates an ant based cli build of the android-jni project android update project --name hello-eigen \ --path .
Shell
#!/bin/bash LD_LIBRARY_PATH=./lib/pc export LD_LIBRARY_PATH java -jar java/dist/lib/HelloEigen.jar
Shell
javah -jni -classpath build com.theveganrobot.cmake.HelloEigen
Shell
#!/bin/bash #javac HelloWorld.java cd java && ant
Shell
#!/bin/bash LD_LIBRARY_PATH=./lib/pc export LD_LIBRARY_PATH java -jar java/dist/lib/HelloCMake.jar
Shell
javah -jni -classpath build com.theveganrobot.cmake.HelloWorld
Shell
#!/bin/sh path=`dirname $0` cp $path/url_list $path/url_temp PYTHONPATH=`pwd` $path/SaveHandler.py 3 $path/url_temp if [ $? -eq 0 ] then rm $path/url_temp fi
Shell
#!/bin/bash # # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
Shell
#!/bin/sh #A script to init Git->SVN exporting #Call with the usual git svn init parameters #After calling this script you can easily call git svn dcommit or so #without getting any error messages. #Remember that the SVN repository must have at least one revision. #Use svn-init-rev.sh to create the initial revision (th...
Shell
#!/bin/sh #This scripts backs up a Subversion repository by cloning it to a compressed bare git repository #Call with the usual git svn clone options #Works only on systems having /dev/shm enabled and enough memory to buffer the full uncompressed #git directory, the git bare directory and the archive. pushd . mkdir /de...
Shell
#!/bin/sh #git-export-bundle.sh #Creates a bundle of all git revisions #Call with the filename as argument git bundle create $@ `git rev-list --parents master | grep '^.\{40\/}$'` HEAD
Shell
#!/bin/sh #A script to create the inital directories (trunk, tags and branches) in a Subversion repository. #Runs only on (Lin|U)n(i|u)x systems. #Call with the usual svn checkout arguments (but not a directory name to checkout to) svn checkout $@ /dev/shm/svntmp/ pushd . cd /dev/shm/svntmp mkdir trunk tags branches sv...
Shell
#!/bin/sh #A script to init Git->SVN exporting #Call with the usual git svn init parameters #After calling this script you can easily call git svn dcommit or so #without getting any error messages. #Remember that the SVN repository must have at least one revision. #Use svn-init-rev.sh to create the initial revision (th...
Shell
#!/bin/sh #git-export-bundle.sh #Creates a bundle of all git revisions #Call with the filename as argument git bundle create $@ `git rev-list --parents master | grep '^.\{40\/}$'` HEAD
Shell
#!/bin/sh #This scripts backs up a Subversion repository by cloning it to a compressed bare git repository #Call with the usual git svn clone options #Works only on systems having /dev/shm enabled and enough memory to buffer the full uncompressed #git directory, the git bare directory and the archive. pushd . mkdir /de...
Shell
#!/bin/sh #A script to create the inital directories (trunk, tags and branches) in a Subversion repository. #Runs only on (Lin|U)n(i|u)x systems. #Call with the usual svn checkout arguments (but not a directory name to checkout to) svn checkout $@ /dev/shm/svntmp/ pushd . cd /dev/shm/svntmp mkdir trunk tags branches sv...
Shell
xgettext -s main.cpp --keyword=_ -o GtkInstaller.pot -d GtkInstaller
Shell
#!/bin/sh TOP_DIR=. OBJ_DIR=. for x in "$@" do case x"$x" in x--srcdir=* | x--topdir=* ) TOP_DIR=`echo $x | sed 's/^--[a-z]*dir=//'` ;; x--builddir=* | x--objdir=* ) OBJ_DIR=`echo $x | sed 's/^--[a-z]*dir=//'` ;; esac done mkdir -p ${OBJ_DIR}/builds/atari/tmp/orig ( cd ${TOP_DIR} && find . -...
Shell
#!/bin/sh TOP_DIR=. OBJ_DIR=. for x in "$@" do case x"$x" in x--srcdir=* | x--topdir=* ) TOP_DIR=`echo $x | sed 's/^--[a-z]*dir=//'` ;; x--builddir=* | x--objdir=* ) OBJ_DIR=`echo $x | sed 's/^--[a-z]*dir=//'` ;; esac done mkdir -p ${OBJ_DIR}/builds/atari/tmp/orig ( cd ${TOP_DIR} && find . -...
Shell
# libtool (GNU libtool) 2.4.2 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; no...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2006-05-11.19 # Original author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@gnu.org>...
Shell
#! /bin/sh # # Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, # and distributed under the terms of the FreeType project license, # LICENSE.TXT. By continuing to use, modify, o...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-02-10' # This file is (in principle) common to ALL GNU software...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-02-10' # This file is free software; you can redistribute it and/...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#! /bin/sh # # Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, # and distributed under the terms of the FreeType project license, # LICENSE.TXT. By continuing to use, modify, o...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2006-05-11.19 # Original author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to <bug-automake@gnu.org> or send patches to # <automake-patches@gnu.org>...
Shell
#!/bin/sh # # Copyright 2002, 2003, 2004, 2005, 2006, 2008, 2009, 2010 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, # and distributed under the terms of the FreeType project license, # LICENSE.TXT. By continuing to use, modify, or...
Shell
#!/bin/sh # Copyright 2005, 2006, 2007, 2008, 2009, 2010 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, # and distributed under the terms of the FreeType project license, # LICENSE.TXT. By continuing to use, modify, or distribute t...
Shell
#!/bin/sh # Copyright 2005, 2006, 2007, 2008, 2009, 2010 by # David Turner, Robert Wilhelm, and Werner Lemberg. # # This file is part of the FreeType project, and may only be used, modified, # and distributed under the terms of the FreeType project license, # LICENSE.TXT. By continuing to use, modify, or distribute t...
Shell
LD_LIBRARY_PATH='./' \ valgrind --leak-check=full \ --trace-children=yes \ --show-reachable=yes \ ./dodTest.run
Shell
LD_LIBRARY_PATH='./' \ valgrind --leak-check=full \ --trace-children=yes \ --show-reachable=yes \ ./dodTest.run
Shell
LD_LIBRARY_PATH='./' \ valgrind --leak-check=full \ --trace-children=yes \ --show-reachable=yes \ ./dodTest.run
Shell
LD_LIBRARY_PATH='./' \ valgrind --leak-check=full \ --trace-children=yes \ --show-reachable=yes \ java -classpath ./../../../../java/descfile/jeweled/classes/:./../../../../java/srcfile/dodFont/jar/png.jar dod.Test
Shell
echo "" echo "Compiling" make clean make all echo "" echo "Demo for Converter" ./converter sample_grammar.txt sample_file.txt echo "Translation written to translation.txt" echo "" echo "Demo for Common Prefix" ./checker leftfac.txt translation.txt echo "" echo "Demo for Left Recursion" ./checker leftrec.txt translat...
Shell
#!/bin/bash echo 'Make' make clean make all echo 'Part 1' ./converter sample_grammar.txt sample_file.txt echo 'Part 2' ./checker sample_grammar.txt translation.txt
Shell
#!/bin/bash echo 'Make' make clean make all echo 'Part 1' ./converter sample_grammar.txt sample_file.txt echo 'Part 2' ./checker sample_grammar.txt translation.txt
Shell
#!/bin/sh autoreconf -i
Shell
#! /bin/bash # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be...
Shell
#!/bin/sh # This script mounts an encfs filesystem, starts a shell in the mounted # directory, and then unmounts the filesystem when the shell exits. # This is an equivalent of the cfssh utility for cfs. # Contributed by David Rosenstrauch. canonicalize() { cd "$1" pwd } if [ -z "$1" -o "$1" = "-h" ]; then echo...
Shell
#!/bin/sh # create distribution file make dist # create tar archive and signature tarArchive=@PACKAGE@-@VERSION@.tgz mv @PACKAGE@-@VERSION@.tar.gz $tarArchive # let the user know why they're being asked for a passpharse echo "Signing tar archive - enter GPG password"; gpg --detach-sign -a $tarArchive # create rpms #...
Shell
#! /bin/bash TOOLCHAIN=${HOME}/android-toolchain MYSTRIP=${TOOLCHAIN}/bin/arm-linux-androideabi-strip autoreconf -i rm -rf armeabi ./config-arm-encfs.sh make clean make -j4 make install ${MYSTRIP} --strip-unneeded armeabi/bin/encfs rm -rf armeabi-v7a ./config-arm-encfs.sh 1 make clean make -j4 make install ${MYSTRI...
Shell
#!/bin/sh rm m4/[c-z]*.m4 echo Creating autoconf scripts... sh ./reconfig.sh echo Configuring... ./configure sh ./makedist2.sh
Shell
#! /bin/bash git clone https://github.com/seth-hg/fuse-android.git find ./fuse-android \( -name "*.c" -o -name "*.h" \) -exec sed -i 's/off_t/loff_t/g' {} \; patch -p1 < ./fuse-android.patch
Shell
#! /bin/bash diff -x '*.in' -x '*.o' -x '*.lo' -x '*.1' -ur ${HOME}/encfs-1.7.4/encfs ./encfs-1.7.4/encfs > encfs-android.patch.new
Shell
#! /bin/bash GSED=`which gsed` if [ "${GSED}" = "" ] then GSED=`which sed` fi if [ ! -f encfs-1.7.4.tgz ] then wget http://encfs.googlecode.com/files/encfs-1.7.4.tgz fi rm -rf encfs-1.7.4 tar -xzf encfs-1.7.4.tgz cd encfs-1.7.4 patch -p1 < ../encfs-android.patch find ./ \( -name "*.c" -o -name "*.h" -o -name ...
Shell
#! /bin/bash # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be...
Shell
#! /bin/bash TOOLCHAIN=${HOME}/android-toolchain MYSTRIP=${TOOLCHAIN}/bin/arm-linux-androideabi-strip cd encfs-1.7.4 cp ../config-arm-encfs.sh ./ rm -rf armeabi ./config-arm-encfs.sh make clean make -j4 make install ${MYSTRIP} --strip-unneeded armeabi/bin/encfs rm -rf armeabi-v7a ./config-arm-encfs.sh 1 make clean ...
Shell
#! /bin/bash wget http://www.openssl.org/source/openssl-1.0.0k.tar.gz tar -xzf openssl-1.0.0k.tar.gz
Shell
# Don't attempt a parallel build! (-jN) OPENSSL_VERSION="1.0.0k" cp -v Makefile.android openssl-${OPENSSL_VERSION} cp -v Makefile.android.armv7 openssl-${OPENSSL_VERSION} cd openssl-${OPENSSL_VERSION} rm -rf libcrypto.a libssl.a armeabi make -f Makefile.android clean make -f Makefile.android mkdir -p armeabi mv lib...
Shell
#! /bin/bash diff -x '*.in' -x '*.o' -x '*.lo' -x '*.1' -x 'bld*' -x '*~' -ur ${HOME}/wxWidgets-2.8.12 ./wxWidgets-2.8.12 > wx-android.patch
Shell
#! /bin/bash if [ ! -f wxWidgets-2.8.12.tar.bz2 ] then wget http://downloads.sourceforge.net/project/wxwindows/2.8.12/wxWidgets-2.8.12.tar.bz2 fi if [ ! -d wxWidgets-2.8.12 ] then tar -xjf wxWidgets-2.8.12.tar.bz2 cd wxWidgets-2.8.12 patch -p1 < ../wx-android.patch cd .. fi
Shell
#! /bin/bash # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be...
Shell
#! /bin/bash WXVER=2.8.12 BUILDDIR=wxWidgets-${WXVER}/bld rm -rf ${BUILDDIR} mkdir -p ${BUILDDIR} cd ${BUILDDIR} ../../config-arm-wx.sh make -j4 make install
Shell
#! /bin/bash wget --no-check-certificate https://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2 tar -xjf protobuf-2.4.1.tar.bz2
Shell
#! /bin/bash # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # This program is distributed in the hope that it will be...
Shell
#! /bin/bash cd protobuf-2.4.1 cp ../config-arm-protobuf.sh ./ ./config-arm-protobuf.sh make clean make -j4 make install ./config-arm-protobuf.sh 1 make clean make -j4 make install cd ..
Shell
#! /bin/bash rm -rf libs/armeabi/* obj/local/armeabi/* rm -rf libs/armeabi-v7a/* obj/local/armeabi-v7a/* ~/android-ndk-r8d/ndk-build V=1 APP_STL=gnustl_static APP_ABI="armeabi armeabi-v7a" -j2
Shell
#! /bin/bash wget http://downloads.sourceforge.net/project/tinyxml/tinyxml/2.6.2/tinyxml_2_6_2.tar.gz tar -xzf tinyxml_2_6_2.tar.gz
Shell
#! /bin/bash TOOLCHAIN="${HOME}/android-toolchain" AR="${TOOLCHAIN}/bin/arm-linux-androideabi-ar crs" RANLIB="${TOOLCHAIN}/bin/arm-linux-androideabi-ranlib" STRIP="${TOOLCHAIN}/bin/arm-linux-androideabi-strip" cd tinyxml MARCH=armeabi make -f ../Makefile.android ARCH=${MARCH} rm -rf ${MARCH} mkdir -p ${MARCH} mv *.o ...
Shell
#! /bin/bash wget http://rlog.googlecode.com/files/rlog-1.4.tar.gz tar -xzf rlog-1.4.tar.gz
Shell