summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 02:43:41 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-15 02:43:41 +0000
commit1b9823b7ba90fc3083aa27daa0d72bb93b49c35b (patch)
tree771b3248382ea41db8f349cf6e9d6483018633c0 /user
parent933ef0da765a96e2b3c0dcae271d1859e7e53877 (diff)
downloadpackages-1b9823b7ba90fc3083aa27daa0d72bb93b49c35b.tar.gz
packages-1b9823b7ba90fc3083aa27daa0d72bb93b49c35b.tar.bz2
packages-1b9823b7ba90fc3083aa27daa0d72bb93b49c35b.tar.xz
packages-1b9823b7ba90fc3083aa27daa0d72bb93b49c35b.zip
user/djvulibre: new package
Diffstat (limited to 'user')
-rw-r--r--user/djvulibre/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/djvulibre/APKBUILD b/user/djvulibre/APKBUILD
new file mode 100644
index 000000000..a90485e6a
--- /dev/null
+++ b/user/djvulibre/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=djvulibre
+pkgver=3.5.27
+pkgrel=0
+pkgdesc="Format for distributing documents and images"
+url="http://djvu.sourceforge.net/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev imagemagick libjpeg-turbo-dev tiff-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://downloads.sourceforge.net/djvu/djvulibre-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="62abcaa2fe7edab536477929ba38b882453dab1a06e119a3f838b38d5c61f5d8c252e4769e6534582b826e49bcfb490513179580fab9c3afa84aa92053ccebee djvulibre-3.5.27.tar.gz"