python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / sylpheed / sylpheed.mk
blob8d426233b271682307e11136fb232fc068a05058
1 ################################################################################
3 # sylpheed
5 ################################################################################
7 SYLPHEED_VERSION_MAJOR = 3.2
8 SYLPHEED_VERSION = $(SYLPHEED_VERSION_MAJOR).0
9 SYLPHEED_SOURCE = sylpheed-$(SYLPHEED_VERSION).tar.bz2
10 SYLPHEED_SITE = http://sylpheed.sraoss.jp/sylpheed/v$(SYLPHEED_VERSION_MAJOR)
11 SYLPHEED_LICENSE = GPLv2+ (executables), LGPLv2.1+ (library, attachment plugin)
12 SYLPHEED_LICENSE_FILES = COPYING COPYING.LIB
13 SYLPHEED_CONF_OPTS = --disable-gtkspell --disable-gpgme
14 SYLPHEED_DEPENDENCIES = host-pkgconf libgtk2
16 # Remove the -I$(includedir) from the Makefiles
17 # because it refers to the host /usr/include.
18 define SYLPHEED_PRECONFIGURE
19 for i in $$(find $(@D) -name "Makefile*"); do \
20 sed -i 's:-I$$(includedir)::g' $$i; \
21 done
22 endef
24 SYLPHEED_PRE_CONFIGURE_HOOKS += SYLPHEED_PRECONFIGURE
26 ifeq ($(BR2_PACKAGE_OPENSSL),y)
27 SYLPHEED_DEPENDENCIES += openssl
28 SYLPHEED_CONF_OPTS += --enable-ssl
29 else
30 SYLPHEED_CONF_OPTS += --disable-ssl
31 endif
33 $(eval $(autotools-package))