wok view weston/receipt @ rev 24091

get-pcem-roms: version less
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 17 19:56:00 2021 +0000 (2021-07-17)
parents ae335becd41b
children 7c0170dd3ecc
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 \
17 gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev file"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|git-version.h : .FORCE|git-version.h :|' src/Makefile*
23 ./configure \
24 --prefix=/usr \
25 --libexec=/usr/lib/weston \
26 --disable-documentation \
27 --enable-fbdev-compositor &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/weston $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston
37 cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston
38 cp -a $install/usr/share/weston $fs/usr/share
39 # Custom weston-session
40 cp -f $stuff/weston-session $fs/usr/bin
41 }