kumquat-buildroot/package/xpdf/xpdf.mk
Will Newton 422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00

32 lines
980 B
Makefile

#############################################################
#
# 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
XPDF_CONF_OPT = --enable-multithreaded
ifeq ($(BR2_SOFT_FLOAT),y)
XPDF_CONF_OPT += --enable-fixedpoint
endif
ifeq ($(BR2_PACKAGE_XORG7),y)
XPDF_DEPENDENCIES += xserver_xorg-server openmotif
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" \
CXXFLAGS="-I$(STAGING_DIR)/usr/include/freetype2"
endif
XPDF_DEPENDENCIES = freetype
$(eval $(call AUTOTARGETS,package,xpdf))