wok-current annotate wayland/receipt @ rev 19453
Up firefox-official (49.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 21 10:19:29 2016 +0300 (2016-10-21) |
parents | fd8b9f3b8878 |
children | 7c0170dd3ecc |
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 |
pankso@16163 | 24 # Rules to configure and make the package. |
pankso@16163 | 25 compile_rules() |
pankso@16163 | 26 { |
pankso@16163 | 27 ./configure \ |
pankso@16163 | 28 --prefix=/usr \ |
pankso@16498 | 29 --disable-documentation \ |
pankso@16498 | 30 ${CONFIGURE_ARGS} ${ARCH_ARGS} && |
pankso@16163 | 31 make && make install |
pankso@16163 | 32 } |
pankso@16163 | 33 |
pankso@16163 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16163 | 35 genpkg_rules() |
pankso@16163 | 36 { |
pankso@16163 | 37 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@16498 | 38 [ -d "$install/usr/bin" ] && cp -a $install/usr/bin $fs/usr |
pankso@16163 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@16163 | 40 cp -a $install/usr/share/wayland $fs/usr/share |
pankso@16163 | 41 } |