wok-next diff xorg-xcb-util-image/receipt @ rev 20303
gnustep-back: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 11:17:33 2017 +0100 (2017-11-10) |
parents | |
children | 0e7893ac206d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xorg-xcb-util-image/receipt Fri Nov 10 11:17:33 2017 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="xorg-xcb-util-image" 1.7 +VERSION="0.4.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Utility libraries for XC Binding - Port of Xlib's XImage and \ 1.10 +XShmImage functions" 1.11 +MAINTAINER="slaxemulator@gmail.com" 1.12 +LICENSE="MIT" 1.13 +WEB_SITE="https://xcb.freedesktop.org/" 1.14 + 1.15 +TARBALL="xcb-util-image-$VERSION.tar.bz2" 1.16 +WGET_URL="$XORG_MIRROR/xcb/$TARBALL" 1.17 + 1.18 +BUILD_DEPENDS="xorg-libxcb-dev xorg-xcb-util-dev xorg-util-macros" 1.19 +SPLIT="xorg-xcb-util-image-dev" 1.20 +PKG_RULE="std-dev" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + ./configure \ 1.26 + --sysconfdir=/etc \ 1.27 + --localstatedir=/var \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && 1.30 + make install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + case $PACKAGE in 1.37 + *-image) 1.38 + copy @std 1.39 + DEPENDS="xorg-libxcb xorg-xcb-util" 1.40 + PROVIDE="xcb-util-image" 1.41 + ;; 1.42 + *-dev) 1.43 + copy @dev 1.44 + DEPENDS="xorg-xcb-util-image xorg-libXau-dev xorg-libXdmcp-dev \ 1.45 + xorg-libxcb-dev xorg-xcb-util-dev" 1.46 + PROVIDE="xcb-util-image-dev" 1.47 + ;; 1.48 + esac 1.49 +}