wok-current view xcb-util/receipt @ rev 22581
bzlib, libbfd: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 07 13:24:42 2020 +0100 (2020-01-07) |
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 }