summaryrefslogtreecommitdiff
path: root/recipes/fbreader/fbreader_0.7.4q.bb
blob: 83b4d4cec7eff7874a6218b97a723f1633caeba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = "FBreader is an ebook reader"
LICENSE = "GPLv2"
HOMEPAGE = "http://only.mawhrin.net/fbreader/"
SECTION = "x11/utils"
PRIORITY = "optional"
DEPENDS = "gtk+ enca expat bzip2 libgpewidget"
PR = "r2"

SRC_URI = "http://only.mawhrin.net/fbreader/obsolete/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}
}

SRC_URI[md5sum] = "17062ae0f1d7d093e61cd002e39885ae"
SRC_URI[sha256sum] = "190e2b5ae8467d4b0c26b10e091c74509e00d4bd895c240842ee02a870caa3eb"