summaryrefslogtreecommitdiff
path: root/packages/dillo/dillo_0.8.6.bb
blob: 355d910d3fca8c642be7ccd9fe4b2bf652315fda (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
27
28
29
30
SECTION = "x11/network"
DESCRIPTION = "Lightweight gtk+ browser."
LICENSE = "GPL"
DEPENDS = "gtk+-1.2 libpng"
SRC_URI="http://www.dillo.org/download/dillo-${PV}.tar.bz2 \
         file://font.patch;patch=1 \
	 file://dillo.desktop \
	 file://dillo.png"
	 

PRIORITY = "optional"

RCONFLICTS = "dillo2"

S = "${WORKDIR}/dillo-${PV}/"

inherit autotools pkgconfig

FILES_${PN} += " /usr/lib/dillo/ /usr/bin/dpid /usr/bin/dpidc "

export PNG_CONFIG = "${STAGING_BINDIR}/libpng-config"

EXTRA_OECONF = "--disable-dlgui"

do_install_append() {
        install -d ${D}${datadir}/applications
        install -d ${D}${datadir}/pixmaps
        install -m 0644 ${WORKDIR}/dillo.desktop ${D}${datadir}/applications/dillo.desktop
        install -m 0644 ${WORKDIR}/dillo.png ${D}${datadir}/pixmaps/dillo.png
}