summaryrefslogtreecommitdiff
path: root/recipes/sylpheed/sylpheed_2.5.0.bb
blob: 69e33c24d569c4a4ace50fbb72b1cf13cfdc1f15 (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
31
32
33
34
35
SECTION = "x11/network"
DESCRIPTION = "Mail user agent"
DEPENDS = "gtk+ gpgme gnutls"
LICENSE = "GPL"
PR = "r0"

SRC_URI = "http://sylpheed.good-day.net/sylpheed/v2.5/sylpheed-${PV}.tar.bz2 \
	"

FILES_${PN} = "${bindir} ${datadir}/pixmaps ${datadir}/applications"
FILES_${PN}-doc += "${datadir}"

EXTRA_OECONF = "--disable-ssl --enable-gnutls"

CFLAGS += "-D_GNU_SOURCE"

do_configure_prepend() {
	mkdir -p m4
	for i in $(find ${S} -name "Makefile.am") ; do
		sed -i s:'-I$(includedir)'::g $i
	done
}

inherit autotools

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


SRC_URI[md5sum] = "a6fc9e9c2a33876fddb33f25f40b820f"
SRC_URI[sha256sum] = "d18a8dc51126e25c7677dd649b7499756278e1d82b7b888d37a10fb1d8d38761"