wok-next annotate xorg-xcb-util/receipt @ rev 19884
libxklavier: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 07 14:53:11 2017 +0200 (2017-10-07) |
parents | |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19805 | 2 |
al@19805 | 3 PACKAGE="xorg-xcb-util" |
al@19805 | 4 VERSION="0.4.0" |
al@19805 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="XCB Utilites" |
al@19805 | 7 MAINTAINER="mallory@sweetpeople.org" |
al@19805 | 8 LICENSE="MIT" |
al@19805 | 9 WEB_SITE="https://xcb.freedesktop.org/" |
al@19805 | 10 HOST_ARCH="i486 arm" |
al@19805 | 11 |
al@19805 | 12 TARBALL="xcb-util-$VERSION.tar.bz2" |
al@19805 | 13 WGET_URL="$XORG_MIRROR/xcb/$TARBALL" |
al@19805 | 14 |
al@19805 | 15 BUILD_DEPENDS="xorg-libxcb-dev gperf" |
al@19805 | 16 BUILD_DEPENDS_arm="xorg-libxcb-dev xorg-libXdmcp-dev" |
al@19805 | 17 SPLIT="xorg-xcb-util-dev" |
al@19805 | 18 PKG_RULE="std-dev" |
al@19805 | 19 |
al@19805 | 20 # Rules to configure and make the package. |
al@19805 | 21 compile_rules() |
al@19805 | 22 { |
al@19805 | 23 ./configure \ |
al@19805 | 24 --sysconfdir=/etc \ |
al@19805 | 25 --localstatedir=/var \ |
al@19805 | 26 $CONFIGURE_ARGS && |
al@19805 | 27 make && |
al@19805 | 28 make install |
al@19805 | 29 } |
al@19805 | 30 |
al@19805 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19805 | 32 genpkg_rules() |
al@19805 | 33 { |
al@19805 | 34 case $PACKAGE in |
al@19805 | 35 *-util) |
al@19805 | 36 copy @std |
al@19805 | 37 DEPENDS="xorg-libxcb" |
al@19805 | 38 PROVIDE="xcb-util" |
al@19805 | 39 ;; |
al@19805 | 40 *-dev) |
al@19805 | 41 copy @dev |
al@19805 | 42 DEPENDS="xorg-xcb-util xorg-libXau-dev xorg-libXdmcp-dev \ |
al@19805 | 43 xorg-libxcb-dev" |
al@19805 | 44 PROVIDE="xcb-util-dev" |
al@19805 | 45 ;; |
al@19805 | 46 esac |
al@19805 | 47 } |