diff options
author | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:38:04 +0000 |
---|---|---|
committer | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:38:04 +0000 |
commit | 2cbd4b2de51718eef21e840589eb5d6a1c429490 (patch) | |
tree | 25fcdd331111682b208344cc16b16e2336194aec /package/xpdf/xpdf.mk | |
parent | bfdb1635b357e7ac1285e5f116f8fd976065297b (diff) |
added xpdf
Diffstat (limited to 'package/xpdf/xpdf.mk')
-rw-r--r-- | package/xpdf/xpdf.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/xpdf/xpdf.mk b/package/xpdf/xpdf.mk new file mode 100644 index 000000000..a33cb957c --- /dev/null +++ b/package/xpdf/xpdf.mk @@ -0,0 +1,31 @@ +############################################################# +# +# 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 + +ifneq ($(BR2_PACKAGE_XSERVER_none),y) + XPDF_DEPENDENCIES += $(XSERVER) 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 = uclibc freetype + +$(eval $(call AUTOTARGETS,package,xpdf)) + |