summaryrefslogtreecommitdiff
path: root/recipes/fbreader/fbreader_0.7.3d.bb
blob: 63276150b8474106c9d9894b5e9c7695fa3b2542 (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
26
DESCRIPTION = "FBreader is an ebook reader"
LICENSE = "GPLv2"
HOMEPAGE = "http://only.mawhrin.net/fbreader/"
SECTION = "x11/utils"
PRIORITY = "optional"
DEPENDS = "gtk+ enca expat bzip2"
PR = "r2"

SRC_URI = "http://only.mawhrin.net/fbreader/obsolete/fbreader-sources-${PV}.tgz \
	file://fbreader-0.7.3d_buildsys_oe.patch;patch=1"

FILES_${PN} += "${datadir}/FBReader"

CFLAGS_append = " RESOLUTION=240x320 INSTALLDIR=/usr"

inherit autotools pkgconfig

do_install_append() {
	install -d ${D}${datadir}/applications
	install -d ${D}${datadir}/pixmaps
	install -m 0644 ${WORKDIR}/${PN}-${PV}/fbreader/openzaurus/gpe/fbreader.desktop ${D}${datadir}/applications/fbreader.desktop
	install -m 0644 ${WORKDIR}/${PN}-${PV}/fbreader/icons/34x28/FBReader.png ${D}${datadir}/pixmaps/fbreader.png
}

SRC_URI[md5sum] = "705a89bb03860fb312a7afa25db0310e"
SRC_URI[sha256sum] = "ec9f93968147526a9b2dd17e31a6d2795356b2eeed309f796f655b37b98abd83"