300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
25 lines
725 B
Makefile
25 lines
725 B
Makefile
#############################################################
|
|
#
|
|
# sylpheed
|
|
#
|
|
#############################################################
|
|
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/v$(SYLPHEED_VERSION_MAJOR)
|
|
|
|
SYLPHEED_CONF_OPT = --disable-gtkspell \
|
|
--includedir=$(STAGING_DIR)/usr/include
|
|
|
|
SYLPHEED_DEPENDENCIES = host-pkg-config libgtk2
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
SYLPHEED_DEPENDENCIES += openssl
|
|
SYLPHEED_CONF_OPT += --enable-ssl
|
|
else
|
|
SYLPHEED_CONF_OPT += --disable-ssl
|
|
endif
|
|
|
|
$(eval $(call AUTOTARGETS))
|