void-packages/srcpkgs/kiwix-lib/template

26 lines
769 B
Bash
Raw Normal View History

2017-09-30 16:48:36 +02:00
# Template file for 'kiwix-lib'
pkgname=kiwix-lib
version=1.0.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=a7973f741e9ac70ce0bb430c46833584e2c4c261eb15549d077a3b3349cbbac2
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
}
}