32 lines
979 B
Bash
32 lines
979 B
Bash
# Template file for 'kiwix-lib'
|
|
pkgname=kiwix-lib
|
|
version=3.0.0
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config ctpp2"
|
|
makedepends="icu-devel libzim-devel pugixml-devel xapian-core-devel
|
|
$(vopt_if ctpp2 ctpp2-devel) libcurl-devel
|
|
gtest-devel"
|
|
short_desc="Common code base for all Kiwix ports"
|
|
maintainer="John <johnz@posteo.net>"
|
|
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=3ec4e3f1b78fac5a586440387209ef25fa4c488d9e49115d7c3907c0fe57c239
|
|
|
|
build_options="ctpp2"
|
|
build_options_default="ctpp2"
|
|
|
|
kiwix-lib-devel_package() {
|
|
short_desc+=" - development packages"
|
|
depends="pugixml-devel icu-devel xapian-core-devel libzim-devel
|
|
ctpp2-devel libaria2-devel ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
}
|
|
}
|