void-packages/srcpkgs/kiwix-lib/template
2018-03-31 17:38:56 +02:00

25 lines
769 B
Bash

# Template file for 'kiwix-lib'
pkgname=kiwix-lib
version=1.1.1
revision=1
build_style=meson
hostmakedepends="pkg-config ctpp2"
makedepends="ctpp2-devel icu-devel libzim-devel pugixml-devel xapian-core-devel"
short_desc="Common code base for all Kiwix ports"
maintainer="John <johnz@posteo.net>"
license="GPL-3"
homepage="kiwix.org"
distfiles="https://github.com/kiwix/kiwix-lib/archive/${version}.tar.gz"
checksum=a33219f4e291e21d557660f05f5a4df1cf84b3281131d17d638cf8842e006c23
kiwix-lib-devel_package() {
short_desc+=" - development packages"
depends="pugixml-devel icu-devel xapian-core-devel libzim-devel
ctpp2-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/bin
vmove usr/include
}
}