void-packages/srcpkgs/wayland/template

36 lines
850 B
Plaintext

# Template file for 'wayland'.
pkgname=wayland
version=1.0.6
revision=1
build_style=gnu-configure
configure_args="--disable-documentation --disable-static"
hostmakedepends="pkg-config flex"
makedepends="libffi-devel expat-devel"
short_desc="Wayland protocol compositor"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://wayland.freedesktop.org/"
license="MIT"
distfiles="http://wayland.freedesktop.org/releases/wayland-${version}.tar.xz"
checksum=f52a012df699eff434b0f49e56000d6978b5f781048402ca8e0232242970fc49
if [ "$CROSS_BUILD" ]; then
makedepends+=" libfl-devel"
fi
wayland-devel_package() {
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
}
}
wayland_package() {
pkg_install() {
vmove usr
}
}