summaryrefslogtreecommitdiffstats
path: root/fbreader/zaurus
diff options
context:
space:
mode:
Diffstat (limited to 'fbreader/zaurus')
-rw-r--r--fbreader/zaurus/FBReader.240x320.desktop7
-rw-r--r--fbreader/zaurus/FBReader.640x480.desktop8
-rw-r--r--fbreader/zaurus/Makefile19
3 files changed, 34 insertions, 0 deletions
diff --git a/fbreader/zaurus/FBReader.240x320.desktop b/fbreader/zaurus/FBReader.240x320.desktop
new file mode 100644
index 0000000..2b93edf
--- /dev/null
+++ b/fbreader/zaurus/FBReader.240x320.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Comment=E-book reader
+Exec=FBReader
+Icon=FBReader
+Type=Application
+Name=FBReader
+HidePrivilege=1
diff --git a/fbreader/zaurus/FBReader.640x480.desktop b/fbreader/zaurus/FBReader.640x480.desktop
new file mode 100644
index 0000000..6cf5030
--- /dev/null
+++ b/fbreader/zaurus/FBReader.640x480.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Comment=E-book reader
+Exec=FBReader
+Icon=FBReader
+Type=Application
+Name=FBReader
+Display=640x480/144dpi,480x640/144dpi
+HidePrivilege=1
diff --git a/fbreader/zaurus/Makefile b/fbreader/zaurus/Makefile
new file mode 100644
index 0000000..4333b12
--- /dev/null
+++ b/fbreader/zaurus/Makefile
@@ -0,0 +1,19 @@
+ROOTDIR = $(CURDIR)/../..
+include $(ROOTDIR)/makefiles/config.mk
+
+ifeq "$(RESOLUTION)" "240x320"
+ PICS_TO = pics
+else # RESOLUTION == 640x480
+ PICS_TO = pics144
+endif
+
+install:
+ @install -m 0644 ../data/default/config.zaurus.xml $(DESTDIR)$(SHAREDIR)/FBReader/default/config.xml
+ @install -m 0644 ../data/default/keymap.zaurus.xml $(DESTDIR)$(SHAREDIR)/FBReader/default/keymap.xml
+ @install -m 0644 ../data/default/styles.$(RESOLUTION).xml $(DESTDIR)$(SHAREDIR)/FBReader/default/styles.xml
+ @install -d $(DESTDIR)$(INSTALLDIR)/$(PICS_TO)
+ @install -m 0644 ../data/icons/application/$(TARGET_ARCH)_$(RESOLUTION).png $(DESTDIR)$(INSTALLDIR)/$(PICS_TO)/FBReader.png
+ @install -d $(DESTDIR)$(INSTALLDIR)/apps/Applications
+ @install -m 0644 FBReader.$(RESOLUTION).desktop $(DESTDIR)$(INSTALLDIR)/apps/Applications/FBReader.desktop
+
+clean: