wok-6.x view xcb-util/receipt @ rev 20426

linld: fix xmm_driver
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 13 00:46:30 2018 +0200 (2018-08-13)
parents 4ba762f15bab
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-util"
4 VERSION="0.3.8"
5 CATEGORY="x-window"
6 SHORT_DESC="XCB Utilites"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://xcb.freedesktop.org/"
11 WGET_URL="${WEB_SITE}dist/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libxcb"
15 BUILD_DEPENDS="libxcb-dev gperf"
17 # Handle cross compilation
18 case "$ARCH" in
19 arm*) BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }