wok-current view wayland/receipt @ rev 18237

sane-backends: add tazpanel/sane.cgi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 25 13:48:18 2015 +0200 (2015-07-25)
parents fd8b9f3b8878
children 7c0170dd3ecc
line source
1 # SliTaz package receipt.
3 PACKAGE="wayland"
4 VERSION="1.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Wayland simpler X display server protocol."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # WARNING: wayland must be installed in chroot since build host
15 # wayland-scanner is used for cross compilation to ARM
16 DEPENDS="libffi expat"
17 BUILD_DEPENDS="libffi-dev expat-dev"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm*) ARCH_ARGS="--disable-scanner" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --disable-documentation \
30 ${CONFIGURE_ARGS} ${ARCH_ARGS} &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
38 [ -d "$install/usr/bin" ] && cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/share/wayland $fs/usr/share
41 }