diff options
author | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
commit | 0d37a1ef234c38b27faba43bc3a22f985d311deb (patch) | |
tree | dde8df9f508e7323c3d7df599ceade7705c40acd /repo/djvulibre/djvulibre.xibuild | |
parent | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff) |
Remove all firmware
Diffstat (limited to 'repo/djvulibre/djvulibre.xibuild')
-rw-r--r-- | repo/djvulibre/djvulibre.xibuild | 43 |
1 files changed, 43 insertions, 0 deletions
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/ +} + |