sudo apt-get install subversion cmake build-essential libssl-dev libpcsclite1 libpcsclite-dev dialog libudev-dev
cd ~
wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.23/libusb-1.0.23.tar.bz2
tar xjvf libusb-1.0.23.tar.bz2
cd libusb-1.0.23
./ configure
make
sudo make install
cd ~
svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn
Then we move in to source folder
cd oscam-svn
mkdir oscamMake
Then get in to oscamMake folder
cd oscamMake
Then we use cmake to prepare build
cmake ..
Compiling oscam using
make
Then we install oscam, once you install oscam, if there was no error, your bin files will be located at etc/local/bin. so you need to type below command.
sudo make install
sudo /etc/local/bin/oscam