void-packages/srcpkgs/wayland/template

39 lines
1,019 B
Text
Raw Normal View History

2012-10-23 05:32:52 +00:00
# Template file for 'wayland'.
pkgname=wayland
2014-09-19 13:48:36 +00:00
version=1.6.0
revision=1
2012-10-23 05:32:52 +00:00
build_style=gnu-configure
configure_args="--disable-documentation --disable-static"
2014-06-06 04:39:45 +00:00
hostmakedepends="automake libtool pkg-config flex"
2013-10-11 08:30:22 +00:00
makedepends="libfl-devel libffi-devel expat-devel"
2012-10-23 05:32:52 +00:00
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"
2014-09-19 13:48:36 +00:00
checksum=a7d5102dcf53d08c059d24bc62de491d7cd482070abeb6737a20d0d86ba6fc7f
2014-06-06 04:39:45 +00:00
pre_configure() {
autoreconf -fi
}
if [ "$CROSS_BUILD" ]; then
2014-06-06 04:39:45 +00:00
hostmakedepends+=" wayland-devel"
2013-05-15 09:16:34 +00:00
post_configure() {
# Use host wayland-scanner
2014-05-21 06:20:57 +00:00
sed -e '/$(AM_V_GEN)/s,$(wayland_scanner),wayland-scanner,g' -i Makefile.in
2013-05-15 09:16:34 +00:00
}
fi
wayland-devel_package() {
2014-01-24 13:48:26 +00:00
depends="${sourcepkg}>=${version}_${revision}"
2013-05-15 09:16:34 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
2013-07-14 07:28:47 +00:00
vmove "usr/lib/*.so"
}
}