summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/sylpheed/Config.in7
-rw-r--r--package/sylpheed/sylpheed-2.4.8-makefile.patch23
-rw-r--r--package/sylpheed/sylpheed.mk20
3 files changed, 50 insertions, 0 deletions
diff --git a/package/sylpheed/Config.in b/package/sylpheed/Config.in
new file mode 100644
index 000000000..588e139d6
--- /dev/null
+++ b/package/sylpheed/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_SYLPHEED
+ bool "sylpheed"
+ default n
+ help
+ lightweight and user-friendly e-mail client.
+
+ http://sylpheed.sraoss.jp/sylpheed/v2.4
diff --git a/package/sylpheed/sylpheed-2.4.8-makefile.patch b/package/sylpheed/sylpheed-2.4.8-makefile.patch
new file mode 100644
index 000000000..0710207bd
--- /dev/null
+++ b/package/sylpheed/sylpheed-2.4.8-makefile.patch
@@ -0,0 +1,23 @@
+--- a/libsylph/Makefile.in 2007-12-20 23:48:26.000000000 -0500
++++ b/libsylph/Makefile.in 2008-02-14 16:34:17.000000000 -0500
+@@ -143,7 +143,7 @@ manualdir = @manualdir@
+ AM_CPPFLAGS = -DG_LOG_DOMAIN=\"LibSylph\" -DSYSCONFDIR=\""$(sysconfdir)"\"
+
+
+-INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir) -I$(includedir)
++INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)
+
+ #lib_LTLIBRARIES = libsylph.la
+ noinst_LTLIBRARIES = libsylph.la
+
+--- a/src/Makefile.in 2007-12-20 23:48:26.000000000 -0500
++++ b/src/Makefile.in 2008-02-14 16:47:46.000000000 -0500
+@@ -153,7 +153,7 @@ BUILT_SOURCES = quote_fmt_lex.c quote
+ EXTRA_DIST = quote_fmt_parse.h sylpheed-marshal.list version.h.in sylpheed.rc.in
+
+
+-INCLUDES = -DG_LOG_DOMAIN=\"Sylpheed\" $(GTK_CFLAGS) $(GDK_PIXBUF_CFLAGS) $(GPGME_CFLAGS) -I$(includedir) -I$(top_srcdir)/libsylph
++INCLUDES = -DG_LOG_DOMAIN=\"Sylpheed\" $(GTK_CFLAGS) $(GDK_PIXBUF_CFLAGS) $(GPGME_CFLAGS) -I$(top_srcdir)/libsylph
+
+ @HAVE_WINDRES_TRUE@SYLPHEED_RES = sylpheed.res
+ @HAVE_WINDRES_FALSE@SYLPHEED_RES =
diff --git a/package/sylpheed/sylpheed.mk b/package/sylpheed/sylpheed.mk
new file mode 100644
index 000000000..14786242d
--- /dev/null
+++ b/package/sylpheed/sylpheed.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# sylpheed
+#
+#############################################################
+SYLPHEED_VERSION = 2.4.8
+SYLPHEED_SOURCE = sylpheed-$(SYLPHEED_VERSION).tar.bz2
+SYLPHEED_SITE = http://sylpheed.sraoss.jp/sylpheed/v2.4
+SYLPHEED_AUTORECONF = NO
+SYLPHEED_INSTALL_STAGING = NO
+SYLPHEED_INSTALL_TARGET = YES
+SYLPHEED_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+
+SYLPHEED_CONF_ENV = PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig
+SYLPHEED_CONF_OPT = --disable-gtkspell
+
+SYLPHEED_DEPENDENCIES = uclibc
+
+$(eval $(call AUTOTARGETS,package,sylpheed))
+