summaryrefslogtreecommitdiffstats
path: root/package/sylpheed/sylpheed.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-02-25 11:55:53 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-25 11:55:53 +0100
commitb7bb735992e92a0e27e686c371bc1f0910e94b93 (patch)
tree67ce97f21ff4e43d89fc2e34cc780a211647904d /package/sylpheed/sylpheed.mk
parent2f19259a47828d498432b38d91e08901343de361 (diff)
downloadbuildroot-novena-b7bb735992e92a0e27e686c371bc1f0910e94b93.tar.gz
buildroot-novena-b7bb735992e92a0e27e686c371bc1f0910e94b93.zip
sylpheed: bump version, fix build
The old sylpheed version no longer built with our libgtk2 version, so move to the latest stable release. At the same time add optional openssl support. The sylpheed build system adds -I$includedir to the CFLAGS, so ensure it points at our staging rather than the host headers. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/sylpheed/sylpheed.mk')
-rw-r--r--package/sylpheed/sylpheed.mk20
1 files changed, 13 insertions, 7 deletions
diff --git a/package/sylpheed/sylpheed.mk b/package/sylpheed/sylpheed.mk
index f1e4fa410..dbd2408f1 100644
--- a/package/sylpheed/sylpheed.mk
+++ b/package/sylpheed/sylpheed.mk
@@ -3,16 +3,22 @@
# sylpheed
#
#############################################################
-SYLPHEED_VERSION = 2.4.8
+SYLPHEED_VERSION_MAJOR = 3.1
+SYLPHEED_VERSION_MINOR = 0
+SYLPHEED_VERSION = $(SYLPHEED_VERSION_MAJOR).$(SYLPHEED_VERSION_MINOR)
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_SITE = http://sylpheed.sraoss.jp/sylpheed/v$(SYLPHEED_VERSION_MAJOR)
-SYLPHEED_CONF_OPT = --disable-gtkspell --program-prefix=""
+SYLPHEED_CONF_OPT = --disable-gtkspell --program-prefix="" \
+ --includedir=$(STAGING_DIR)/usr/include
SYLPHEED_DEPENDENCIES = host-pkg-config libgtk2
-$(eval $(call AUTOTARGETS,package,sylpheed))
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+SYLPHEED_DEPENDENCIES += openssl
+SYLPHEED_CONF_OPT += --enable-ssl
+else
+SYLPHEED_CONF_OPT += --disable-ssl
+endif
+$(eval $(call AUTOTARGETS,package,sylpheed))