wok-6.x view 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 source
1 # SliTaz package receipt.
3 PACKAGE="weston"
4 VERSION="1.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Reference implementation of a Wayland compositor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL"
13 DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind mtdev \
14 xorg-libXcursor pam liblzma"
15 BUILD_DEPENDS="wayland-dev mesa-wayland-dev cairo-gl-dev libxkbcommon-dev \
16 libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev liblzma-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --libexec=/usr/lib/weston \
24 --disable-documentation \
25 --enable-fbdev-compositor &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/weston $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston
35 cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston
36 cp -a $install/usr/share/weston $fs/usr/share
37 # Custom weston-session
38 cp -f $stuff/weston-session $fs/usr/bin
39 }