wok-next annotate weston/receipt @ rev 19591
Up dialog (1.3-20160828).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 21 15:37:43 2017 +0200 (2017-01-21) |
parents | 8206cd68c4e2 |
children | 0fcf48f89432 |
rev | line source |
---|---|
pankso@16204 | 1 # SliTaz package receipt. |
pankso@16204 | 2 |
pankso@16204 | 3 PACKAGE="weston" |
pankso@16204 | 4 VERSION="1.4.0" |
pankso@16204 | 5 CATEGORY="x-window" |
pankso@16204 | 6 SHORT_DESC="Reference implementation of a Wayland compositor." |
pankso@16204 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16204 | 8 LICENSE="MIT" |
pankso@16204 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@16204 | 10 WEB_SITE="http://www.slitaz.org/" |
pankso@16204 | 11 WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL" |
pankso@16204 | 12 |
pankso@16204 | 13 DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind mtdev \ |
pankso@16204 | 14 xorg-libXcursor pam liblzma" |
pankso@16204 | 15 BUILD_DEPENDS="wayland-dev mesa-wayland-dev cairo-gl-dev libxkbcommon-dev \ |
pascal@16212 | 16 libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev liblzma-dev \ |
pascal@16212 | 17 gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev" |
pankso@16204 | 18 |
pankso@16204 | 19 # Rules to configure and make the package. |
pankso@16204 | 20 compile_rules() |
pankso@16204 | 21 { |
pankso@16204 | 22 ./configure \ |
pankso@16204 | 23 --prefix=/usr \ |
pankso@16204 | 24 --libexec=/usr/lib/weston \ |
pankso@16204 | 25 --disable-documentation \ |
pankso@16204 | 26 --enable-fbdev-compositor && |
pankso@16204 | 27 make && make install |
pankso@16204 | 28 } |
pankso@16204 | 29 |
pankso@16204 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16204 | 31 genpkg_rules() |
pankso@16204 | 32 { |
pankso@16204 | 33 mkdir -p $fs/usr/lib/weston $fs/usr/share |
pankso@16204 | 34 cp -a $install/usr/bin $fs/usr |
pankso@16204 | 35 cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston |
pankso@16204 | 36 cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston |
pankso@16204 | 37 cp -a $install/usr/share/weston $fs/usr/share |
pankso@16204 | 38 # Custom weston-session |
pankso@16204 | 39 cp -f $stuff/weston-session $fs/usr/bin |
pankso@16204 | 40 } |
psychomaniak@19154 | 41 |