void-packages/srcpkgs/libwpe/template

28 lines
717 B
Bash

# Template file for 'libwpe'
pkgname=libwpe
version=1.14.1
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="MesaLib-devel libxkbcommon-devel"
short_desc="General-purpose library for WPE WebKit"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://wpewebkit.org"
distfiles="https://wpewebkit.org/releases/libwpe-${version}.tar.xz"
checksum=b1d0cdcf0f8dbb494e65b0f7913e357106da9a0d57f4fbb7b9d1238a6dbe9ade
post_install() {
vlicense COPYING
}
libwpe-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libxkbcommon-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}