summaryrefslogtreecommitdiff
path: root/packages/opie-reader/opie-reader.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-reader/opie-reader.inc')
-rw-r--r--packages/opie-reader/opie-reader.inc46
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/opie-reader/opie-reader.inc b/packages/opie-reader/opie-reader.inc
index e69de29bb2..b3f130595e 100644
--- a/packages/opie-reader/opie-reader.inc
+++ b/packages/opie-reader/opie-reader.inc
@@ -0,0 +1,46 @@
+DESCRIPTION = "E-Book reader"
+SECTION = "opie/applications"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+APPNAME = "opie-reader"
+APPTYPE = "binary"
+
+
+S = "${WORKDIR}/opie-reader"
+
+EXTRA_QMAKEVARS_POST += "LIBS+=-L${S}"
+PARALLEL_MAKE = ""
+
+inherit opie
+
+# FILES bin/opie-reader apps/Applications/opie-reader.desktop pics/opie-reader/*
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/ \
+ ${D}${palmtopdir}/lib/ \
+ ${D}${palmtopdir}/plugins/reader/data/ \
+ ${D}${palmtopdir}/plugins/reader/filters/ \
+ ${D}${palmtopdir}/plugins/reader/codecs/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+
+ for f in libAportis libCHM libPlucker libReb libWeasel libiSilo libppms libArriereGo
+ do
+ oe_libinstall -so -C ${S}/ $f ${D}${palmtopdir}/plugins/reader/codecs/
+ done
+
+ for f in libreader_codec libreader_pdb libreader_pluckerbase pluckerdecompress
+ do
+ oe_libinstall -so -C ${S}/ $f ${D}${palmtopdir}/lib/
+ done
+
+ oe_libinstall -so -C ${S}/ libHTMLfilter ${D}${palmtopdir}/plugins/reader/filters/
+ oe_libinstall -so -C ${S}/ libpluckerdecompress ${D}${palmtopdir}/plugins/reader/support/
+
+ for f in libflitecmd libflitedyn libflitedyn16
+ do
+ oe_libinstall -so -C ${S}/ $f ${D}${palmtopdir}/plugins/reader/outcodecs
+ done
+
+ install -m 0644 ${S}/HTMLentities ${D}${palmtopdir}/plugins/reader/data/
+}
+