wok-current annotate wayland/receipt @ rev 24574

updated fribidi and fribidi-dev (1.0.8 -> 1.0.11)
author Hans-G?nter Theisgen
date Sun Feb 27 07:58:48 2022 +0100 (2022-02-27)
parents 351577bd7833
children bd7510903310
rev   line source
pankso@16163 1 # SliTaz package receipt.
pankso@16163 2
pankso@16163 3 PACKAGE="wayland"
pankso@16163 4 VERSION="1.4.0"
pankso@16163 5 CATEGORY="x-window"
pankso@16163 6 SHORT_DESC="Wayland simpler X display server protocol."
pankso@16163 7 MAINTAINER="pankso@slitaz.org"
pankso@16163 8 LICENSE="MIT"
pankso@16163 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@16163 10 WEB_SITE="http://www.slitaz.org/"
pankso@16163 11 WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL"
pankso@16498 12 HOST_ARCH="i486 arm"
pankso@16163 13
pankso@16498 14 # WARNING: wayland must be installed in chroot since build host
pankso@16498 15 # wayland-scanner is used for cross compilation to ARM
pankso@16204 16 DEPENDS="libffi expat"
pankso@16204 17 BUILD_DEPENDS="libffi-dev expat-dev"
pankso@16163 18
pankso@16498 19 # Handle cross compilation
pankso@16498 20 case "$ARCH" in
pankso@16498 21 arm*) ARCH_ARGS="--disable-scanner" ;;
pankso@16498 22 esac
pankso@16498 23
pascal@24535 24 # What is the latest version available today?
pascal@24535 25 current_version()
pascal@24535 26 {
pascal@24535 27 wget -O - 'https://gitlab.freedesktop.org/wayland/wayland/-/tags?sort=updated_desc' 2>/dev/null | \
pascal@24535 28 sed '/item-title/!d;s|.*">||;s|<.*||;q'
pascal@24535 29 }
pascal@24535 30
pankso@16163 31 # Rules to configure and make the package.
pankso@16163 32 compile_rules()
pankso@16163 33 {
pankso@16163 34 ./configure \
pankso@16163 35 --prefix=/usr \
pankso@16498 36 --disable-documentation \
pankso@16498 37 ${CONFIGURE_ARGS} ${ARCH_ARGS} &&
pankso@16163 38 make && make install
pankso@16163 39 }
pankso@16163 40
pankso@16163 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16163 42 genpkg_rules()
pankso@16163 43 {
pankso@16163 44 mkdir -p $fs/usr/lib $fs/usr/share
pankso@16498 45 [ -d "$install/usr/bin" ] && cp -a $install/usr/bin $fs/usr
pankso@16163 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16163 47 cp -a $install/usr/share/wayland $fs/usr/share
pankso@16163 48 }