The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / sylpheed / sylpheed.mk
1 ################################################################################
2 #
3 # sylpheed
4 #
5 ################################################################################
6
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
15
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
23
24 SYLPHEED_PRE_CONFIGURE_HOOKS += SYLPHEED_PRECONFIGURE
25
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
32
33 $(eval $(autotools-package))