Skip to content

Commit

Permalink
Checked in new files to help with customBuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
RC1140 committed Dec 28, 2011
1 parent c0eaa11 commit 904e28b
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
29 changes: 29 additions & 0 deletions buildScripts/customBuild.sh
@@ -0,0 +1,29 @@
echo '[*] Making Dir cr-gpg-dev'
mkdir cr-gpg-dev
echo '[*] Changing into Dir cr-gpg-dev'
cd cr-gpg-dev
echo '[*] Cloning firebreath into folder firebreath-dev'
git clone git://github.com/firebreath/FireBreath.git firebreath-dev
echo '[*] Changing into Dir firebreath-dev'
cd firebreath-dev
echo '[*] Updated submodules for firebreath'
git submodule update --recursive --init
echo '[*] Changing Dir back into cr-gpg-dev'
cd ..
echo '[*] Cloning cr-gpg into folder cr-gpg'
git clone https://github.com/RC1140/cr-gpg.git cr-gpg
echo '[*] Making projects folder for firebreath'
mkdir -p firebreath-dev/projects/gmailGPG
echo '[*] Copying cr-gpg into projects folder'
cp -r cr-gpg/gmailGPG/generic/* firebreath-dev/projects/gmailGPG/
echo '[*] Changing into firebreath folder'
cd firebreath-dev
echo '[*] Running make preperation script'
./prepmake.sh
echo '[*] Changing into build folder'
cd build
echo '[*] Starting build'
make
echo '[*] Assuming everything is built fine , copying binary into the extension folder'
cp bin/gmailGPG/npgmailGPG.so ../../cr-gpg/chromeExtension/gmailGPG.so
echo 'You can now load the plugin by using [Developer Mode -> Load Unpacked Extension ]'
2 changes: 2 additions & 0 deletions buildScripts/reqsFedora.sh
@@ -0,0 +1,2 @@
sudo yum install git gtk2-devel cmake gcc
sudo yum groupinstall "Development Tools"
1 change: 1 addition & 0 deletions buildScripts/reqsUbuntu.sh
@@ -0,0 +1 @@
sudo apt-get install git cmake libgtk2.0-dev build-essential

0 comments on commit 904e28b

Please sign in to comment.