Skip to content
Browse files

Checked in new files to help with customBuilds

  • Loading branch information...
1 parent c0eaa11 commit 904e28b873a0b2cabf115474173d613befa0d4aa @RC1140 committed
Showing with 32 additions and 0 deletions.
  1. +29 −0 buildScripts/customBuild.sh
  2. +2 −0 buildScripts/reqsFedora.sh
  3. +1 −0 buildScripts/reqsUbuntu.sh
View
29 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 ]'
View
2 buildScripts/reqsFedora.sh
@@ -0,0 +1,2 @@
+sudo yum install git gtk2-devel cmake gcc
+sudo yum groupinstall "Development Tools"
View
1 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.
Something went wrong with that request. Please try again.