wok-next view xorg-xcb-util-image/receipt @ rev 19949

sane-backends: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 16 12:17:41 2017 +0200 (2017-10-16)
parents
children 0e7893ac206d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-xcb-util-image"
4 VERSION="0.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Utility libraries for XC Binding - Port of Xlib's XImage and \
7 XShmImage functions"
8 MAINTAINER="slaxemulator@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://xcb.freedesktop.org/"
12 TARBALL="xcb-util-image-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/xcb/$TARBALL"
15 BUILD_DEPENDS="xorg-libxcb-dev xorg-xcb-util-dev xorg-util-macros"
16 SPLIT="xorg-xcb-util-image-dev"
17 PKG_RULE="std-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 *-image)
35 copy @std
36 DEPENDS="xorg-libxcb xorg-xcb-util"
37 PROVIDE="xcb-util-image"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="xorg-xcb-util-image xorg-libXau-dev xorg-libXdmcp-dev \
42 xorg-libxcb-dev xorg-xcb-util-dev"
43 PROVIDE="xcb-util-image-dev"
44 ;;
45 esac
46 }