slitaz-arm view wok/weston-rpi/receipt @ rev 219

dot command may not search current directory first
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 23 13:50:45 2017 +0200 (2017-07-23)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="weston-rpi"
4 VERSION="1.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Implementation of a Wayland compositor for the Raspberry Pi."
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"
12 HOST_ARCH="arm"
14 DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind mtdev \
15 xorg-libXcursor pam liblzma"
16 BUILD_DEPENDS="wayland-dev mesa-wayland-dev cairo-gl-dev libxkbcommon-dev \
17 libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev liblzma-dev \
18 gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev"
20 # WARNING: Weston for the Rpi needs the official firmware in /opt/vc.
21 # They are not packaged in i486 so install all firmware by hand.
22 # DL: https://github.com/raspberrypi/firmware
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --libexec=/usr/lib/weston \
30 --disable-documentation \
31 --enable-fbdev-compositor &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/weston $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston
41 cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston
42 cp -a $install/usr/share/weston $fs/usr/share
43 # Custom weston-session
44 cp -f $stuff/weston-session $fs/usr/bin
45 }