summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/fbreader/fbreader_0.7.4q.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/fbreader/fbreader_0.7.4q.bb b/packages/fbreader/fbreader_0.7.4q.bb
new file mode 100644
index 0000000000..b209370f19
--- /dev/null
+++ b/packages/fbreader/fbreader_0.7.4q.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "FBreader is an ebook reader"
+LICENSE = "GPL2"
+HOMEPAGE = "http://only.mawhrin.net/fbreader/"
+SECTION = "x11/utils"
+PRIORITY = "optional"
+DEPENDS = "gtk+ enca expat bzip2"
+PR = "r0"
+
+SRC_URI = "http://only.mawhrin.net/fbreader/fbreader-sources-${PV}.tgz \
+ file://fbreader-0.7.4q_buildsys_oe.patch;patch=1"
+
+FILES_${PN} += "${datadir}/FBReader ${datadir}/zlibrary"
+
+CFLAGS_append = " RESOLUTION=240x320 INSTALLDIR=/usr"
+EXTRA_OEMAKE = "CC='${CXX}' LD='${CXX}' OE_CFLAGS='${CXXFLAGS}' INCPATH='${STAGING_INCDIR}' LIBPATH='${STAGING_LIBDIR}'"
+
+inherit pkgconfig
+
+do_install () {
+ cd fbreader/openzaurus; oe_runmake .builddir RESOLUTION=240x320
+ cp -r data/* ${D}
+}