wok view weston/receipt @ rev 19365
bwm-ng: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 03 14:21:25 2016 +0200 (2016-08-03) |
parents | 8206cd68c4e2 |
children | ae335becd41b |
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"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --libexec=/usr/lib/weston \
25 --disable-documentation \
26 --enable-fbdev-compositor &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/weston $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston
36 cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston
37 cp -a $install/usr/share/weston $fs/usr/share
38 # Custom weston-session
39 cp -f $stuff/weston-session $fs/usr/bin
40 }