The Cubian project provides several deb packages but fails to provide the matching source packages.
Cubian Debian Wheezy repository
Cubian provides some deb packages.
wget -O - http://packages.cubian.org/cubian.gpg.key | apt-key add - echo "deb http://packages.cubian.org/ wheezy main" >> /etc/apt/sources.list apt-get update
Cubian provides packages with the precompiled binaries (armhf, mali r3p0) and it's dependencies, and also X configurations, udev rules. After you installed the package, Everything should work out of the box.
apt-get install xserver-xorg-video-sunximali sunxi-disp-test
You can easily test it by
If this shows a colourful triangle in a grey background measuring 480x480 then all is fine!
Other test programs are sunxi_disp_g2d_bench and sunxi_disp_vsync_demo.
The development files is in package libsunxi-mali-x11-dev.
apt-get install oracle-java7-jre
apt-get install oracle-java7-jdk