wok-next annotate 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 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19805 | 2 |
al@19805 | 3 PACKAGE="xorg-xcb-util-image" |
al@19805 | 4 VERSION="0.4.0" |
al@19805 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="Utility libraries for XC Binding - Port of Xlib's XImage and \ |
al@19805 | 7 XShmImage functions" |
al@19805 | 8 MAINTAINER="slaxemulator@gmail.com" |
al@19805 | 9 LICENSE="MIT" |
al@19805 | 10 WEB_SITE="https://xcb.freedesktop.org/" |
al@19805 | 11 |
al@19805 | 12 TARBALL="xcb-util-image-$VERSION.tar.bz2" |
al@19805 | 13 WGET_URL="$XORG_MIRROR/xcb/$TARBALL" |
al@19805 | 14 |
al@19805 | 15 BUILD_DEPENDS="xorg-libxcb-dev xorg-xcb-util-dev xorg-util-macros" |
al@19805 | 16 SPLIT="xorg-xcb-util-image-dev" |
al@19805 | 17 PKG_RULE="std-dev" |
al@19805 | 18 |
al@19805 | 19 # Rules to configure and make the package. |
al@19805 | 20 compile_rules() |
al@19805 | 21 { |
al@19805 | 22 ./configure \ |
al@19805 | 23 --sysconfdir=/etc \ |
al@19805 | 24 --localstatedir=/var \ |
al@19805 | 25 $CONFIGURE_ARGS && |
al@19805 | 26 make && |
al@19805 | 27 make install |
al@19805 | 28 } |
al@19805 | 29 |
al@19805 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19805 | 31 genpkg_rules() |
al@19805 | 32 { |
al@19805 | 33 case $PACKAGE in |
al@19805 | 34 *-image) |
al@19805 | 35 copy @std |
al@19805 | 36 DEPENDS="xorg-libxcb xorg-xcb-util" |
al@19805 | 37 PROVIDE="xcb-util-image" |
al@19805 | 38 ;; |
al@19805 | 39 *-dev) |
al@19805 | 40 copy @dev |
al@19805 | 41 DEPENDS="xorg-xcb-util-image xorg-libXau-dev xorg-libXdmcp-dev \ |
al@19805 | 42 xorg-libxcb-dev xorg-xcb-util-dev" |
al@19805 | 43 PROVIDE="xcb-util-image-dev" |
al@19805 | 44 ;; |
al@19805 | 45 esac |
al@19805 | 46 } |