summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-05 12:06:36 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-05 12:06:36 +0100
commit10bad6ef239394674bee035e400a039281d57b0d (patch)
tree7f52bca90a43158485c8b270956141ad62361f8e /packages
parentfa8511659d60eccde8f002d8622dce7e104aad31 (diff)
djvulibre: add 3.5.21
* unbuildable like 3.5.20, but this one gets to do_install instead of breaking in do_compile
Diffstat (limited to 'packages')
-rw-r--r--packages/djvulibre/djvulibre_3.5.21.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/djvulibre/djvulibre_3.5.21.bb b/packages/djvulibre/djvulibre_3.5.21.bb
new file mode 100644
index 0000000000..b9460f62cc
--- /dev/null
+++ b/packages/djvulibre/djvulibre_3.5.21.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "DjVuLibre is an open source (GPL'ed) implementation of DjVu, including viewers, browser plugins, decoders, simple encoders, and utilities."
+LICENSE = "GPL"
+DEPENDS = "jpeg libpng tiff"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/djvu/djvulibre-${PV}.tar.gz \
+ file://fix-cross-configure.patch;patch=1"
+
+inherit qt4x11 autotools pkgconfig
+
+#export QT_LIBS = "${OE_QMAKE_LIBS_QT}"
+#export QT_CFLAGS = "${OE_QMAKE_CXXFLAGS} -I${QTDIR}/include/Qt/ "
+
+EXTRA_OECONF = " --enable-threads \
+ --with-qt=${QTDIR} "
+
+do_configure() {
+ gnu-configize
+ autoreconf
+ oe_runconf
+ for i in $(find ${S} -name "Makefile") ; do
+ sed -i -e s:-L/usr/lib::g $i
+ done
+}
+
+do_stage() {
+ autotools_stage_all
+}
+
+PACKAGES =+ "libdjvulibre"
+FILES_libdjvulibre = "${libdir}/libdjvulibre.so.*"
+FILES_${PN} += "${datadir}/djvu"