32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'kiwix-lib'
|
|
pkgname=kiwix-lib
|
|
version=9.3.1
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config"
|
|
makedepends="icu-devel libzim-devel pugixml-devel xapian-core-devel
|
|
libmicrohttpd-devel libcurl-devel Mustache gtest-devel"
|
|
short_desc="Common code base for all Kiwix ports"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.kiwix.org/"
|
|
changelog="https://github.com/kiwix/kiwix-lib/blob/${version}/ChangeLog"
|
|
distfiles="https://github.com/kiwix/kiwix-lib/archive/${version}.tar.gz"
|
|
checksum=b36500af589797e220d0a5fc551047f016c8914ac2d4b04666daef977aa0a4ce
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ] || [ "${XBPS_TARGET_MACHINE/-musl/}" = "armv7l" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
kiwix-lib-devel_package() {
|
|
short_desc+=" - development packages"
|
|
depends="pugixml-devel icu-devel xapian-core-devel libzim-devel
|
|
libaria2-devel ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
}
|
|
}
|