wok-6.x annotate weston/receipt @ rev 24193

updated perl-datetime (1.52 -> 1.55)
author Hans-G?nter Theisgen
date Fri Dec 31 14:48:34 2021 +0100 (2021-12-31)
parents ae335becd41b
children 7c0170dd3ecc
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@20586 17 gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev file"
pankso@16204 18
pankso@16204 19 # Rules to configure and make the package.
pankso@16204 20 compile_rules()
pankso@16204 21 {
pascal@23873 22 sed -i 's|git-version.h : .FORCE|git-version.h :|' src/Makefile*
pankso@16204 23 ./configure \
pankso@16204 24 --prefix=/usr \
pankso@16204 25 --libexec=/usr/lib/weston \
pankso@16204 26 --disable-documentation \
pankso@16204 27 --enable-fbdev-compositor &&
pankso@16204 28 make && make install
pankso@16204 29 }
pankso@16204 30
pankso@16204 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16204 32 genpkg_rules()
pankso@16204 33 {
pankso@16204 34 mkdir -p $fs/usr/lib/weston $fs/usr/share
pankso@16204 35 cp -a $install/usr/bin $fs/usr
pankso@16204 36 cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston
pankso@16204 37 cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston
pankso@16204 38 cp -a $install/usr/share/weston $fs/usr/share
pankso@16204 39 # Custom weston-session
pankso@16204 40 cp -f $stuff/weston-session $fs/usr/bin
pankso@16204 41 }
psychomaniak@19154 42