diff --git a/metadata/net.i2p.android.router.txt b/metadata/net.i2p.android.router.txt new file mode 100644 index 0000000000..3dc7c19f6a --- /dev/null +++ b/metadata/net.i2p.android.router.txt @@ -0,0 +1,40 @@ +Category:Internet +License:Apache2 +Web Site:http://i2p2.de +Source Code:http://github.com/i2p +Issue Tracker:http://trac.i2p2.de + +Summary:I2P anonymous network +Description: +I2P is an anonymizing network, offering a simple layer that identity-sensitive applications can use to securely communicate. All data is wrapped with several layers of encryption, and the network is both distributed and dynamic, with no trusted parties. +WARNING - This is ALPHA SOFTWARE. Do not rely upon it for strong anonymity. +For detailed information, security information, and usage examples see the [Release Notes http://zzz.i2p.us/topics/948] + +. + +Donate:http://www.i2p2.de/donate +Repo Type:git +Repo:https://github.com/i2p/i2p.android.base.git + + +Build Version:0.9.7.1,0,e4c9095626cce668de338fa35f5ea7766f7198a6,srclibs=I2P@06d2db0046efa1f5bd7667b3fdd63ba931832c68,update=no,target=android-18,patch=jni.patch,novcheck=yes,prebuild=\ +sed -i '41s|#export NDK=$(realpath ../../android-ndk-r5b/)|export NDK=$$NDK$$|' ./routerjars/jni/build.sh &&\ +cp -R $$I2P$$* ./i2p.i2p &&\ +echo -e "\nsdk.dir=$$SDK$$" >> ./local.properties &&\ +echo -e "\nsdk.dir=$$SDK$$" >> ./routerjars/local.properties &&\ +echo -e "\nndk.dir=$$NDK$$" >> ./routerjars/local.properties &&\ +echo -e "\ni2psrc=./i2p.i2p" >> ./local.properties &&\ +rm -R ./i2p.i2p/installer/lib/jbigi/* &&\ +rm -R ./i2p.i2p/installer/lib/wrapper/* &&\ +rm -R ./routerjars/jni/libjbigi.so &&\ +cp -R $$SDK$$/extras/android/support/v7/appcompat/ appcompat/ &&\ +echo -e "\nandroid.library.reference.2=./appcompat/" >> ./local.properties &&\ +$$SDK$$/tools/android update lib-project --path ./appcompat/ &&\ +echo -e "\ni2psrc=./../i2p.i2p" >> ./routerjars/local.properties &&\ +wget ftp://ftp.gmplib.org/pub/gmp-4.3.2/gmp-4.3.2.tar.bz2 &&\ +tar xjvf gmp-4.* -C ./i2p.i2p/core/c/jbigi/ &&\ +rm ./gmp-4.* + + + +Update Check Mode:None diff --git a/metadata/net.i2p.android.router/jni.patch b/metadata/net.i2p.android.router/jni.patch new file mode 100644 index 0000000000..10202a7dac --- /dev/null +++ b/metadata/net.i2p.android.router/jni.patch @@ -0,0 +1,22 @@ +--- a/routerjars/jni/build.sh2013-09-19 12:51:29.865886937 +0200 ++++ b/routerjars/jni/build.sh 2013-09-19 12:51:20.755000838 +0200 +@@ -41,14 +41,14 @@ + #export NDK=$(realpath ../../android-ndk-r5b/) + + ## Simple fix for osx development +-if [ "`uname -s`" == "Darwin" ]; then +- export NDK=/Developer/android/ndk/ +-else +- export NDK="`readlink -n -e $(for last in ../../android-ndk-r*/.; do true; done ; echo $last)`" +-fi ++#if [ "`uname -s`" == "Darwin" ]; then ++# export NDK=/Developer/android/ndk/ ++#else ++# export NDK="`readlink -n -e $(for last in ../../android-ndk-r*/.; do true; done ; echo $last)`" ++#fi + # + # API level, must match that in ../AndroidManifest.xml + # + LEVEL=8 + ARCH=arm + export SYSROOT=$NDK/platforms/android-$LEVEL/arch-$ARCH/ diff --git a/srclibs/I2P.txt b/srclibs/I2P.txt new file mode 100644 index 0000000000..97bc87002d --- /dev/null +++ b/srclibs/I2P.txt @@ -0,0 +1,2 @@ +Repo Type:git +Repo:https://github.com/i2p/i2p.i2p.git