Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 1 | DESCRIPTION = "PDF transformation/inspection software" |
| 2 | HOMEPAGE = "http://qpdf.sourceforge.net" |
| 3 | LICENSE = "Artistic-2.0" |
| 4 | SECTION = "libs" |
| 5 | DEPENDS = "libpcre zlib libjpeg-turbo" |
| 6 | |
| 7 | SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf/qpdf-${PV}.tar.gz" |
| 8 | |
| 9 | LIC_FILES_CHKSUM = "file://Artistic-2.0;md5=7806296b9fae874361e6fb10072b7ee3" |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 10 | SRC_URI[md5sum] = "eb7fb7c6cd5d3036bf4f7a5e3f44d995" |
| 11 | SRC_URI[sha256sum] = "5d2277c738188b7f4e3f01a6db7f2937ed6df54671f1fba834cd3d7ff865827b" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 12 | |
| 13 | inherit autotools-brokensep gettext |
| 14 | |
| 15 | # disable random file detection for cross-compile |
| 16 | EXTRA_OECONF = "--without-random \ |
| 17 | --disable-static \ |
| 18 | --disable-check-autofiles \ |
| 19 | " |
| 20 | |
| 21 | EXTRA_OEMAKE_class-target = "LIBTOOL=${HOST_SYS}-libtool" |
| 22 | |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 23 | LDFLAGS_append_mipsarch = " -latomic" |
| 24 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 25 | S="${WORKDIR}/${BPN}-${PV}" |
| 26 | |
| 27 | # avoid Makefile returning error on 'make clean' before configure was run |
| 28 | CLEANBROKEN = "1" |
| 29 | |
| 30 | DEBIAN_NOAUTONAME_libqpdf = "1" |
| 31 | |
| 32 | PACKAGES =+ "libqpdf" |
| 33 | FILES_libqpdf = "${libdir}/libqpdf.so.*" |
| 34 | |
| 35 | RDEPEND_${PN} = "libqpdf" |