~ubuntu-branches/ubuntu/vivid/fbreader/vivid-proposed

« back to all changes in this revision

Viewing changes to fbreader/scripts/install_help.sh

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2008-01-23 16:51:07 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080123165107-5q19etahzd72c33a
Tags: 0.8.12-3
* Add libzlui-maemo which allows using fbreader on the maemo platform, on
  Debian. Thanks, Riku Voipio. Closes: #462299
* makefiles/arch/maemo.mk: Don't build with -thumb. (Riku)
* Loosen dependency versions some more, so it only depends on the current
  upstream version or higher, ignoring the Debian revision.
* Use binary:Version instead of deprecated Source-Version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
if [ $# != 2 ]; then
 
4
        echo -e "usage\n  $0 <platform> <install_dir>";
 
5
        exit 0;
 
6
fi;
 
7
 
 
8
case "$1" in
 
9
        desktop|maemo|openzaurus_640x480|pdaxrom|pepperpad3|zaurus_640x480)
 
10
                platform=desktop;
 
11
                ;;
 
12
        opensimpad-0.9.0|qvfb)
 
13
                platform=640x480;
 
14
                ;;
 
15
        openzaurus_240x320|pma400|zaurus_240x320)
 
16
                platform=240x320;
 
17
                ;;
 
18
        win32)
 
19
                platform=win32;
 
20
                ;;
 
21
        *)
 
22
                echo "$0: unknown platform \"$1\"";
 
23
                exit 0;
 
24
                ;;
 
25
esac;
 
26
installdir=$2;
 
27
 
 
28
for file in data/help/MiniHelp.$platform.*.fb2; do
 
29
        lang=`echo $file | cut -d . -f 3`;
 
30
        install -m 0644 $file $installdir/MiniHelp.$lang.fb2
 
31
done