23 lines
753 B
Bash
23 lines
753 B
Bash
# Template file for 'kiwix-tools'
|
|
pkgname=kiwix-tools
|
|
version=3.1.2
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config"
|
|
makedepends="kiwix-lib-devel zlib-devel libmicrohttpd-devel libuuid-devel"
|
|
short_desc="Kiwix command line tools"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://kiwix.org"
|
|
changelog="https://github.com/kiwix/kiwix-tools/blob/${version}/Changelog"
|
|
distfiles="https://github.com/kiwix/kiwix-tools/archive/${version}.tar.gz"
|
|
checksum=86325ec31976d40357f08c520806cf223fa1b0a5edb02ad106c2a0d6746ca364
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ] || [ "${XBPS_TARGET_MACHINE/-musl/}" = "armv7l" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kiwix-lib-devel"
|
|
fi
|