wok-next diff xorg-xcb-util-cursor/receipt @ rev 20025

Up opencv (3.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 13:30:25 2017 +0200 (2017-10-22)
parents
children 0e7893ac206d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xcb-util-cursor/receipt	Sun Oct 22 13:30:25 2017 +0200
     1.3 @@ -0,0 +1,48 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="xorg-xcb-util-cursor"
     1.7 +VERSION="0.1.3"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Module that implements the XCB cursor library"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://xcb.freedesktop.org/"
    1.13 +HOST_ARCH="i486 arm"
    1.14 +
    1.15 +TARBALL="xcb-util-cursor-$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-xcb-util-renderutil-dev \
    1.19 +xorg-xcb-util-image-dev"
    1.20 +SPLIT="xorg-xcb-util-cursor-dev"
    1.21 +PKG_RULE="std-dev"
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	./configure \
    1.27 +		--sysconfdir=/etc \
    1.28 +		--localstatedir=/var \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make &&
    1.31 +	make install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	case $PACKAGE in
    1.38 +		*-xcb-util-cursor)
    1.39 +			copy @std
    1.40 +			DEPENDS="xorg-libxcb xorg-xcb-util-image xorg-xcb-util-renderutil"
    1.41 +			PROVIDE="xcb-util-cursor"
    1.42 +			;;
    1.43 +		*-dev)
    1.44 +			copy @dev
    1.45 +			DEPENDS="xorg-xcb-util-cursor xorg-libXau-dev xorg-libXdmcp-dev \
    1.46 +			xorg-libxcb-dev xorg-xcb-util-dev xorg-xcb-util-image-dev \
    1.47 +			xorg-xcb-util-renderutil-dev"
    1.48 +			PROVIDE="xcb-util-cursor-dev"
    1.49 +			;;
    1.50 +	esac
    1.51 +}