2008-03-06 19:38:04 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# xpdf
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
XPDF_VERSION = 3.02
|
|
|
|
XPDF_SOURCE = xpdf-$(XPDF_VERSION).tar.gz
|
|
|
|
XPDF_SITE = ftp://ftp.foolabs.com/pub/xpdf
|
|
|
|
XPDF_AUTORECONF = NO
|
|
|
|
XPDF_INSTALL_STAGING = NO
|
|
|
|
XPDF_INSTALL_TARGET = YES
|
|
|
|
XPDF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
|
|
|
|
2008-08-04 21:07:05 +02:00
|
|
|
XPDF_CONF_OPT = --enable-multithreaded
|
2008-03-06 19:38:04 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_SOFT_FLOAT),y)
|
|
|
|
XPDF_CONF_OPT += --enable-fixedpoint
|
|
|
|
endif
|
|
|
|
|
2009-07-17 15:42:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
2009-07-17 16:26:29 +02:00
|
|
|
XPDF_DEPENDENCIES += xserver_xorg-server openmotif
|
2008-03-06 19:38:04 +01:00
|
|
|
XPDF_CONF_OPT += --with-Xm-library=$(STAGING_DIR)/usr/lib --with-Xm-includes=$(STAGING_DIR)/usr/include/Xm \
|
|
|
|
--with-x --with-freetype2-includes=$(STAGING_DIR)/usr/include \
|
|
|
|
--with-freetype2-library=$(STAGING_DIR)/usr/lib CFLAGS="-I$(STAGING_DIR)/usr/include/freetype2" \
|
2008-08-04 21:07:05 +02:00
|
|
|
CXXFLAGS="-I$(STAGING_DIR)/usr/include/freetype2"
|
2008-03-06 19:38:04 +01:00
|
|
|
endif
|
|
|
|
|
2009-09-02 17:02:02 +02:00
|
|
|
XPDF_DEPENDENCIES = freetype
|
2008-03-06 19:38:04 +01:00
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,xpdf))
|
|
|
|
|