2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:26:43 +01:00
|
|
|
#
|
|
|
|
# sylpheed
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-05-13 08:22:46 +02:00
|
|
|
|
2012-10-07 14:40:27 +02:00
|
|
|
SYLPHEED_VERSION_MAJOR = 3.2
|
2014-03-17 09:06:41 +01:00
|
|
|
SYLPHEED_VERSION = $(SYLPHEED_VERSION_MAJOR).0
|
2008-03-06 19:26:43 +01:00
|
|
|
SYLPHEED_SOURCE = sylpheed-$(SYLPHEED_VERSION).tar.bz2
|
2011-02-25 11:55:53 +01:00
|
|
|
SYLPHEED_SITE = http://sylpheed.sraoss.jp/sylpheed/v$(SYLPHEED_VERSION_MAJOR)
|
2017-03-30 15:43:34 +02:00
|
|
|
SYLPHEED_LICENSE = GPL-2.0+ (executables), LGPL-2.1+ (library, attachment plugin)
|
2012-12-16 01:05:47 +01:00
|
|
|
SYLPHEED_LICENSE_FILES = COPYING COPYING.LIB
|
2014-09-27 21:32:44 +02:00
|
|
|
SYLPHEED_CONF_OPTS = --disable-gtkspell --disable-gpgme
|
2012-10-22 17:47:52 +02:00
|
|
|
SYLPHEED_DEPENDENCIES = host-pkgconf libgtk2
|
2008-03-06 19:26:43 +01:00
|
|
|
|
2012-10-07 14:39:59 +02:00
|
|
|
# Remove the -I$(includedir) from the Makefiles
|
|
|
|
# because it refers to the host /usr/include.
|
|
|
|
define SYLPHEED_PRECONFIGURE
|
|
|
|
for i in $$(find $(@D) -name "Makefile*"); do \
|
|
|
|
sed -i 's:-I$$(includedir)::g' $$i; \
|
|
|
|
done
|
|
|
|
endef
|
|
|
|
|
|
|
|
SYLPHEED_PRE_CONFIGURE_HOOKS += SYLPHEED_PRECONFIGURE
|
|
|
|
|
2011-02-25 11:55:53 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
SYLPHEED_DEPENDENCIES += openssl
|
2014-09-27 21:32:44 +02:00
|
|
|
SYLPHEED_CONF_OPTS += --enable-ssl
|
2011-02-25 11:55:53 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
SYLPHEED_CONF_OPTS += --disable-ssl
|
2011-02-25 11:55:53 +01:00
|
|
|
endif
|
2008-03-06 19:26:43 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|