source "package/haveged/Config.in"
source "package/mcrypt/Config.in"
source "package/mobile-broadband-provider-info/Config.in"
+ source "package/qpdf/Config.in"
source "package/qemu/Config.in"
source "package/shared-mime-info/Config.in"
source "package/snowball-init/Config.in"
--- /dev/null
+config BR2_PACKAGE_QPDF
+ bool "qpdf"
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_PCRE
+ select BR2_PACKAGE_ZLIB
+ help
+ QPDF is a command-line program that does structural, content-
+ preserving transformations on PDF files. It could have been called
+ something like pdf-to-pdf. It also provides many useful capabilities
+ to developers of PDF-producing software or for people who just want
+ to look at the innards of a PDF file to learn more about how they
+ work.
+
+ http://qpdf.sourceforge.net/
+
+comment "qpdf needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
--- /dev/null
+# Downloaded from http://sourceforge.net/projects/qpdf/files/qpdf/5.1.2/
+md5 0bd15ef5eea5f628951ab456c84e78ec qpdf-5.1.2.tar.gz
--- /dev/null
+################################################################################
+#
+# qpdf
+#
+################################################################################
+
+QPDF_VERSION = 5.1.2
+QPDF_SITE = http://downloads.sourceforge.net/project/qpdf/qpdf/$(QPDF_VERSION)
+QPDF_INSTALL_STAGING = YES
+QPDF_LICENSE = Artistic-2.0
+QPDF_LICENSE_FILES = Artistic-2.0
+QPDF_DEPENDENCIES = pcre zlib
+
+QPDF_CONF_OPTS = --without-random
+
+$(eval $(autotools-package))