Install dvdbackup under OpenELEC

mkdir /tmp/deb

URL=http://ubuntu.mirror.cambrium.nl/ubuntu//pool/universe/d/dvdbackup/dvdbackup_0.4.2-4_amd64.deb
wget ${URL} -O /tmp/dvdbackup_amd64.deb
dpkg -x /tmp/dvdbackup_amd64.deb /tmp/deb
scp /tmp/deb/usr/bin/dvdbackup root@openelec:/storage/dvdbackup

URL=http://download.videolan.org/pub/debian/stable/libdvdcss2_1.2.13-0_amd64.deb
wget ${URL} -O /tmp/libdvdcss2_amd64.deb
dpkg -x /tmp/libdvdcss2_amd64.deb /tmp/deb
scp /tmp/deb/usr/lib/libdvdcss.so.2.1.0 root@openelec:/storage/libdvdcss.so.2

URL=http://ubuntu.mirror.cambrium.nl/ubuntu//pool/universe/libd/libdvdread/libdvdread4_4.2.0-1ubuntu4_amd64.deb
wget ${URL} -O /tmp/libdvdread4_amd64.deb
dpkg -x /tmp/libdvdread4_amd64.deb /tmp/deb
scp /tmp/deb/usr/lib/libdvdread.so.4.2.0 root@openelec:/storage/libdvdread.so.4

# rip
export PATH=${PATH}:/storage
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/storage
[ -L /dev/dvd ] || ln -s /dev/sr0 /dev/dvd
dvdbackup -M -o /storage/videos/

get Ubuntu archives and extract
http://packages.ubuntu.com/quantal/dvdbackup
http://packages.ubuntu.com/quantal/libdvdread4
http://packages.medibuntu.org/quantal/libdvdcss2.html
http://cbalnuweit.de/?p=115