blob: d0da53251a7d690aba71f8a2016bab794129f1b2 (
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
36
37
|
SECTION = "x11/network"
DESCRIPTION = "Mail user agent"
DEPENDS = "gtk+ gpgme gnutls"
LICENSE = "GPLv2 & LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4 \
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
PR = "r1"
SRC_URI = "http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-${PV}.tar.bz2 \
file://glib-2.32.patch \
"
SRC_URI[md5sum] = "1f470525c1fbe53253813a0978c18228"
SRC_URI[sha256sum] = "8bb6457db4e2eea1877b487d9ac8513546372db9a6a2e4271d11229f4af84e23"
FILES_${PN} += "${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/
}
|