summaryrefslogtreecommitdiffstats
path: root/fbreader/openzaurus
diff options
context:
space:
mode:
Diffstat (limited to 'fbreader/openzaurus')
-rw-r--r--fbreader/openzaurus/Makefile23
-rw-r--r--fbreader/openzaurus/gpe/fbreader.desktop9
l---------fbreader/openzaurus/opie1
3 files changed, 33 insertions, 0 deletions
diff --git a/fbreader/openzaurus/Makefile b/fbreader/openzaurus/Makefile
new file mode 100644
index 0000000..af9708f
--- /dev/null
+++ b/fbreader/openzaurus/Makefile
@@ -0,0 +1,23 @@
+ROOTDIR = $(CURDIR)/../..
+include $(ROOTDIR)/makefiles/config.mk
+
+ifeq "$(UI_TYPE)" "opie"
+ PICSDIR = $(INSTALLDIR)/pics/fbreader
+ APPDIR = $(INSTALLDIR)/apps/Applications
+ STYLE = $(RESOLUTION)
+else # UI_TYPE == gpe
+ PICSDIR = $(SHAREDIR)/pixmaps/fbreader
+ APPDIR = $(SHAREDIR)/applications
+ STYLE = gpe$(RESOLUTION)
+endif
+
+install:
+ @install -d $(DESTDIR)$(PICSDIR)
+ @install -m 0644 ../data/icons/application/$(TARGET_ARCH)_$(RESOLUTION).png $(DESTDIR)$(PICSDIR)/FBReader.png
+ @install -m 0644 ../data/default/config.openzaurus.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.$(STYLE).xml $(DESTDIR)$(SHAREDIR)/FBReader/default/styles.xml
+ @install -d $(DESTDIR)$(APPDIR)
+ @install -m 0644 $(UI_TYPE)/fbreader.desktop $(DESTDIR)$(APPDIR)
+
+clean:
diff --git a/fbreader/openzaurus/gpe/fbreader.desktop b/fbreader/openzaurus/gpe/fbreader.desktop
new file mode 100644
index 0000000..7664089
--- /dev/null
+++ b/fbreader/openzaurus/gpe/fbreader.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=FBReader
+Comment=E-Book Reader
+Exec=FBReader
+Icon=fbreader/FBReader
+Type=Application
+Terminal=0
+Categories=Application;Utility
+StartupNotify=True
diff --git a/fbreader/openzaurus/opie b/fbreader/openzaurus/opie
new file mode 120000
index 0000000..2894f23
--- /dev/null
+++ b/fbreader/openzaurus/opie
@@ -0,0 +1 @@
+../opie \ No newline at end of file