wok-6.x diff weston/receipt @ rev 16204
Add weston wayland compositor with: libunwind and cairo-gl
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 31 01:18:02 2014 +0200 (2014-03-31) |
parents | |
children | 8206cd68c4e2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/weston/receipt Mon Mar 31 01:18:02 2014 +0200 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="weston" 1.7 +VERSION="1.4.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Reference implementation of a Wayland compositor." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.13 +WEB_SITE="http://www.slitaz.org/" 1.14 +WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL" 1.15 + 1.16 +DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind mtdev \ 1.17 +xorg-libXcursor pam liblzma" 1.18 +BUILD_DEPENDS="wayland-dev mesa-wayland-dev cairo-gl-dev libxkbcommon-dev \ 1.19 +libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev liblzma-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --libexec=/usr/lib/weston \ 1.27 + --disable-documentation \ 1.28 + --enable-fbdev-compositor && 1.29 + make && make install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib/weston $fs/usr/share 1.36 + cp -a $install/usr/bin $fs/usr 1.37 + cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston 1.38 + cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston 1.39 + cp -a $install/usr/share/weston $fs/usr/share 1.40 + # Custom weston-session 1.41 + cp -f $stuff/weston-session $fs/usr/bin 1.42 +}