summaryrefslogtreecommitdiff
path: root/recipes/sylpheed/sylpheed_2.5.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/sylpheed/sylpheed_2.5.0.bb')
-rw-r--r--recipes/sylpheed/sylpheed_2.5.0.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/sylpheed/sylpheed_2.5.0.bb b/recipes/sylpheed/sylpheed_2.5.0.bb
new file mode 100644
index 0000000000..94c51e4fce
--- /dev/null
+++ b/recipes/sylpheed/sylpheed_2.5.0.bb
@@ -0,0 +1,32 @@
+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/
+}
+