From 0d37a1ef234c38b27faba43bc3a22f985d311deb Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 17 May 2023 17:01:27 +0100 Subject: Remove all firmware --- repo/djvulibre/djvulibre.xibuild | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 repo/djvulibre/djvulibre.xibuild (limited to 'repo/djvulibre/djvulibre.xibuild') diff --git a/repo/djvulibre/djvulibre.xibuild b/repo/djvulibre/djvulibre.xibuild new file mode 100644 index 0000000..d275bd2 --- /dev/null +++ b/repo/djvulibre/djvulibre.xibuild @@ -0,0 +1,43 @@ +#!/bin/sh + +NAME="djvulibre" +DESC="Utilities and Libraries for the DjVu image format" + +MAKEDEPS=" libjpeg-turbo tiff automake autoconf libtool" + +PKG_VER=3.5.28 +SOURCE="https://downloads.sourceforge.net/djvu/djvulibre-$PKG_VER.tar.gz" + +ADDITIONAL=" +djvulibre-3.5.27-check-image-size.patch +djvulibre-3.5.27-check-input-pool.patch +djvulibre-3.5.27-djvuport-stack-overflow.patch +djvulibre-3.5.27-export-file.patch +djvulibre-3.5.27-integer-overflow.patch +djvulibre-3.5.27-out-of-bound-write-2.patch +djvulibre-3.5.27-unsigned-short-overflow.patch +" + +prepare() { + apply_patches + autoreconf -fi +} + +build() { + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} + +libs() { + pkgdesc="Runtime support for the DjVu image format" + mkdir -p "$PKG_DEST"/usr/lib + mv "$PKG_DEST"/usr/lib/*.so.* \ + "$PKG_DEST"/usr/lib/ +} + -- cgit v1.2.1