wok-6.x annotate wayland/receipt @ rev 20924
updated flashrom (0.9.6.1 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 02 09:50:24 2019 +0100 (2019-03-02) |
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 } |