wok-current view xcb-util/receipt @ rev 22173

clementine: added build dependency chromaprint-dev
author Hans-G?nter Theisgen
date Fri Nov 08 14:48:56 2019 +0100 (2019-11-08)
parents a78610b2eb47
children 5d79829fa876
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-util"
4 VERSION="0.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="XCB Utilites"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 WEB_SITE="https://xcb.freedesktop.org/XcbUtil/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL"
14 DEPENDS="libxcb"
15 BUILD_DEPENDS="gperf libxcb-dev"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm*) BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }